diff options
| author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-01-18 20:59:52 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 14:24:21 +0100 |
| commit | bc989fff450e8fbbc049b9858d56d572731283d2 (patch) | |
| tree | 12d6d37777f7bf07c9e9300287f28284c9c930c2 /drivers/staging/rtl8192e | |
| parent | 1032f497c5a1f42e3add5939605dae9b0f16f06a (diff) | |
| download | linux-next-bc989fff450e8fbbc049b9858d56d572731283d2.tar.gz linux-next-bc989fff450e8fbbc049b9858d56d572731283d2.zip | |
staging: rtl8192e: Remove unused variable PwrDomainProtect
PwrDomainProtect is initialized and then never evaluated. Remove resulting
dead code.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/769f4d3337872d29d8fc5e31613aac52b6bae95b.1674071236.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
| -rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index fe985f4b8dbb..227c13d552fc 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -2027,8 +2027,6 @@ rtl92e_init_variables(struct net_device *dev) IMR_RDU | IMR_RXFOVW | IMR_TXFOVW | IMR_BcnInt | IMR_TBDOK | IMR_TBDER); - priv->PwrDomainProtect = false; - priv->bfirst_after_down = false; } diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h index 626a2bc48969..e90cc61b3817 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h @@ -526,7 +526,6 @@ struct r8192_priv { bool chan_forced; - u8 PwrDomainProtect; u8 H2CTxCmdSeq; }; |
