diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-08-22 16:28:12 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:37 -0700 |
commit | f740474bbf8b2e1e0ccf0a45d929b219aabbc95a (patch) | |
tree | 03464d1dd8676fe2dff4e0758c331c1a577deb2f /drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | |
parent | Staging: rtl819u: ieee80211: Remove unused variable (diff) | |
download | linux-dev-f740474bbf8b2e1e0ccf0a45d929b219aabbc95a.tar.xz linux-dev-f740474bbf8b2e1e0ccf0a45d929b219aabbc95a.zip |
Staging: rtl8192e: r8192E_dev.c: Remove unused variable
This patch discards the variable as it is not used anywhere throughout
the kernel.
Build tested it.
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index c28cabc23fc0..353e3fedb79e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -108,7 +108,6 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) case HW_VAR_MEDIA_STATUS: { enum rt_op_mode OpMode = *((enum rt_op_mode *)(val)); - enum led_ctl_mode LedAction = LED_CTL_NO_LINK; u8 btMsr = rtl92e_readb(dev, MSR); btMsr &= 0xfc; @@ -116,7 +115,6 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) switch (OpMode) { case RT_OP_MODE_INFRASTRUCTURE: btMsr |= MSR_INFRA; - LedAction = LED_CTL_LINK; break; case RT_OP_MODE_IBSS: @@ -125,7 +123,6 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) case RT_OP_MODE_AP: btMsr |= MSR_AP; - LedAction = LED_CTL_LINK; break; default: |