diff options
author | Thomas Vegas <thomas@grouk.net> | 2014-06-01 14:34:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 16:40:07 -0700 |
commit | 22649bb2b664ca241c8a14b4f886940c3a9cc998 (patch) | |
tree | b818f37b13f8488d197a1defdebf132dd5f2c646 /drivers/staging/rtl8712/drv_types.h | |
parent | 5947956bdcf1aff31caba90f80f363340e18cb56 (diff) |
staging: rtl8712: Remove useless variable 'fw_found'
The net device only exists when firmware is loaded successfully.
Firmware presence variable is only used through r871xu_dev_remove() and
this function already checks for net device existence.
Signed-off-by: Thomas Vegas <thomas@grouk.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/drv_types.h')
-rw-r--r-- | drivers/staging/rtl8712/drv_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 3362e5e32bcc..0168745ba191 100644 --- a/drivers/staging/rtl8712/drv_types.h +++ b/drivers/staging/rtl8712/drv_types.h @@ -160,7 +160,6 @@ struct _adapter { s32 bSurpriseRemoved; u32 IsrContent; u32 ImrContent; - bool fw_found; u8 EepromAddressSize; u8 hw_init_completed; struct task_struct *cmdThread; |