staging: rtl8712: remove redundant pointer 'nic'
Pointer 'nic' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'nic' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6bcba96e85
commit
9005feae47
|
@ -89,9 +89,6 @@ static void BlinkWorkItemCallback(struct work_struct *work);
|
||||||
static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed,
|
static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed,
|
||||||
enum LED_PIN_871x LedPin)
|
enum LED_PIN_871x LedPin)
|
||||||
{
|
{
|
||||||
struct net_device *nic;
|
|
||||||
|
|
||||||
nic = padapter->pnetdev;
|
|
||||||
pLed->padapter = padapter;
|
pLed->padapter = padapter;
|
||||||
pLed->LedPin = LedPin;
|
pLed->LedPin = LedPin;
|
||||||
pLed->CurrLedState = LED_STATE_OFF;
|
pLed->CurrLedState = LED_STATE_OFF;
|
||||||
|
|
Loading…
Reference in a new issue