aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-09 11:51:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-27 19:51:46 +0200
commit23c41ca6173da88c4acff1e353af654085ee3a0d (patch)
tree4ab29bd2e964ea13afa4e94c0ff123c00f48a8a8 /drivers/staging/rtl8712/rtl871x_ioctl_linux.c
parentstaging: erofs: fix potential overflow in z_erofs_vle_normalaccess_readpage{,s} (diff)
downloadlinux-dev-23c41ca6173da88c4acff1e353af654085ee3a0d.tar.xz
linux-dev-23c41ca6173da88c4acff1e353af654085ee3a0d.zip
staging: rtl8712: remove unused array iw_operation_mode
Array iw_operation_mode is defined but is never used hence it is redundant and can be removed. This array has been like this since the driver was added back in 2010 Cleans up clang warning: warning: 'iw_operation_mode' defined but not used [-Wunused-const-variable=] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_ioctl_linux.c')
-rw-r--r--drivers/staging/rtl8712/rtl871x_ioctl_linux.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
index c3ff7c3e6681..12af6f4baa48 100644
--- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
+++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
@@ -67,11 +67,6 @@ static const long ieee80211_wlan_frequencies[] = {
2472, 2484
};
-static const char * const iw_operation_mode[] = {
- "Auto", "Ad-Hoc", "Managed", "Master", "Repeater", "Secondary",
- "Monitor"
-};
-
void r8712_indicate_wx_assoc_event(struct _adapter *padapter)
{
union iwreq_data wrqu;