]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
iwlwifi: mvm: remove unused conversion table
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 30 Jul 2018 12:57:08 +0000 (15:57 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 11 Nov 2018 09:06:21 +0000 (11:06 +0200)
chanwidths isn't used now in debugfs-vif.c.  Remove it.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c

index e9767bbdea1ed60334bbebd9305fc3c6762826f1..33b0af24a5378d07ed6bdbee80458b8697e2d026 100644 (file)
@@ -1441,15 +1441,6 @@ static ssize_t iwl_dbgfs_quota_min_read(struct file *file,
        return simple_read_from_buffer(user_buf, count, ppos, buf, len);
 }
 
-static const char * const chanwidths[] = {
-       [NL80211_CHAN_WIDTH_20_NOHT] = "noht",
-       [NL80211_CHAN_WIDTH_20] = "ht20",
-       [NL80211_CHAN_WIDTH_40] = "ht40",
-       [NL80211_CHAN_WIDTH_80] = "vht80",
-       [NL80211_CHAN_WIDTH_80P80] = "vht80p80",
-       [NL80211_CHAN_WIDTH_160] = "vht160",
-};
-
 #define MVM_DEBUGFS_WRITE_FILE_OPS(name, bufsz) \
        _MVM_DEBUGFS_WRITE_FILE_OPS(name, bufsz, struct ieee80211_vif)
 #define MVM_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz) \