summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2021-08-11 00:50:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-11 09:41:04 +0200
commitfdd46ffbe4714f9bfd57cccb8033348d76ebcb89 (patch)
tree408fba46f44445953c6cd89bc1408128721d0eea
parentaab87047305d2966a9ebfc60a2eb9dff480e6ca0 (diff)
downloadlinux-fdd46ffbe4714f9bfd57cccb8033348d76ebcb89.tar.gz
linux-fdd46ffbe4714f9bfd57cccb8033348d76ebcb89.zip
staging: r8188eu: remove unused variable from rtl8188e_init_dm_priv
Remove unused variable from the rtl8188e_init_dm_priv function in hal/rtl8188e_dm.c Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20210810235047.177883-6-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/hal/rtl8188e_dm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_dm.c b/drivers/staging/r8188eu/hal/rtl8188e_dm.c
index fab385774400..78552303c990 100644
--- a/drivers/staging/r8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/r8188eu/hal/rtl8188e_dm.c
@@ -185,7 +185,6 @@ void rtl8188e_init_dm_priv(struct adapter *Adapter)
{
struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter);
struct dm_priv *pdmpriv = &hal_data->dmpriv;
- struct odm_dm_struct *podmpriv = &hal_data->odmpriv;
memset(pdmpriv, 0, sizeof(struct dm_priv));
Init_ODM_ComInfo_88E(Adapter);