Commit efc6f7ce authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman

staging: rtl8192e: Remove unused variable initialized_at_probe

initialized_at_probe is initialized and never used. Remove resulting dead
code.
Signed-off-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/4855b2dd5b7296b0eb10e697f605fb820e1dfc7b.1669156825.git.philipp.g.hortmann@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d694a05f
...@@ -836,7 +836,6 @@ static void _rtl92e_init_priv_variable(struct net_device *dev) ...@@ -836,7 +836,6 @@ static void _rtl92e_init_priv_variable(struct net_device *dev)
priv->up_first_time = 1; priv->up_first_time = 1;
priv->blinked_ingpio = false; priv->blinked_ingpio = false;
priv->being_init_adapter = false; priv->being_init_adapter = false;
priv->initialized_at_probe = false;
priv->bdisable_nic = false; priv->bdisable_nic = false;
priv->bfirst_init = false; priv->bfirst_init = false;
priv->txringcount = 64; priv->txringcount = 64;
......
...@@ -309,7 +309,6 @@ struct r8192_priv { ...@@ -309,7 +309,6 @@ struct r8192_priv {
bool bfirst_init; bool bfirst_init;
bool bfirst_after_down; bool bfirst_after_down;
bool initialized_at_probe;
bool being_init_adapter; bool being_init_adapter;
int irq; int irq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment