mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
staging: rtl8188eu: remove chip_type of the adapter structure
chip_type variable is unnecessary here, because this driver is only for one chip and it is not used after initialization. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e48f0df5c
commit
29b9e16884
2 changed files with 0 additions and 3 deletions
|
@ -176,8 +176,6 @@ static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
|
|||
};
|
||||
|
||||
struct adapter {
|
||||
u16 chip_type;
|
||||
|
||||
struct dvobj_priv *dvobj;
|
||||
struct mlme_priv mlmepriv;
|
||||
struct mlme_ext_priv mlmeextpriv;
|
||||
|
|
|
@ -360,7 +360,6 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
|
|||
|
||||
padapter->bDriverStopped = true;
|
||||
mutex_init(&padapter->hw_init_mutex);
|
||||
padapter->chip_type = RTL8188E;
|
||||
|
||||
pnetdev = rtw_init_netdev(padapter);
|
||||
if (pnetdev == NULL)
|
||||
|
|
Loading…
Reference in a new issue