staging: rtl8192e: Remove variable card_type
Remove variable card_type as it is initialized but never unused. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/f0f40f574ac4837bd2be3b6384ae42d9aabf1832.1687583718.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a56cbbcc73
commit
bc9efc46eb
@ -807,8 +807,6 @@ static void _rtl92e_init_priv_variable(struct net_device *dev)
|
|||||||
|
|
||||||
priv->rtllib->fts = DEFAULT_FRAG_THRESHOLD;
|
priv->rtllib->fts = DEFAULT_FRAG_THRESHOLD;
|
||||||
|
|
||||||
priv->card_type = PCI;
|
|
||||||
|
|
||||||
priv->fw_info = vzalloc(sizeof(struct rt_firmware));
|
priv->fw_info = vzalloc(sizeof(struct rt_firmware));
|
||||||
if (!priv->fw_info)
|
if (!priv->fw_info)
|
||||||
netdev_err(dev,
|
netdev_err(dev,
|
||||||
|
@ -259,12 +259,6 @@ struct r8192_priv {
|
|||||||
u8 polling_timer_on;
|
u8 polling_timer_on;
|
||||||
|
|
||||||
/**********************************************************/
|
/**********************************************************/
|
||||||
|
|
||||||
enum card_type {
|
|
||||||
PCI, MINIPCI,
|
|
||||||
CARDBUS, USB
|
|
||||||
} card_type;
|
|
||||||
|
|
||||||
struct work_struct qos_activate;
|
struct work_struct qos_activate;
|
||||||
|
|
||||||
short promisc;
|
short promisc;
|
||||||
|
Reference in New Issue
Block a user