Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shraddha Barke and committed by
Greg Kroah-Hartman
f740474b d40d3e11

-3
-3
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
··· 108 108 case HW_VAR_MEDIA_STATUS: 109 109 { 110 110 enum rt_op_mode OpMode = *((enum rt_op_mode *)(val)); 111 - enum led_ctl_mode LedAction = LED_CTL_NO_LINK; 112 111 u8 btMsr = rtl92e_readb(dev, MSR); 113 112 114 113 btMsr &= 0xfc; ··· 115 116 switch (OpMode) { 116 117 case RT_OP_MODE_INFRASTRUCTURE: 117 118 btMsr |= MSR_INFRA; 118 - LedAction = LED_CTL_LINK; 119 119 break; 120 120 121 121 case RT_OP_MODE_IBSS: ··· 123 125 124 126 case RT_OP_MODE_AP: 125 127 btMsr |= MSR_AP; 126 - LedAction = LED_CTL_LINK; 127 128 break; 128 129 129 130 default: