From: Phillip Potter Date: Tue, 10 Aug 2021 23:50:44 +0000 (+0100) Subject: staging: r8188eu: remove unused variable from rtl8188e_init_dm_priv X-Git-Tag: v5.15~425^2~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdd46ffbe4714f9bfd57cccb8033348d76ebcb89;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Phillip Potter Link: https://lore.kernel.org/r/20210810235047.177883-6-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/rtl8188e_dm.c b/drivers/staging/r8188eu/hal/rtl8188e_dm.c index fab3857..7855230 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);