Skip to content

Commit

Permalink
staging: rtl8188eu: remove a write-only struct member
Browse files Browse the repository at this point in the history
FwRsvdPageStartOffset in struct hal_data_8188e is never read. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210612180019.20387-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Martin Kaiser authored and Greg Kroah-Hartman committed Jun 14, 2021
1 parent ebdc8d8 commit 33bbc15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ static void SetFwRsvdPagePkt(struct adapter *adapt, bool bDLFinished)
if (PageNeed == 1)
PageNeed += 1;
PageNum += PageNeed;
adapt->HalData->FwRsvdPageStartOffset = PageNum;

BufIndex += PageNeed * 128;

Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/rtl8188eu/include/rtl8188e_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ struct hal_data_8188e {

u8 bDumpRxPkt;/* for debug */
u8 bDumpTxPkt;/* for debug */
u8 FwRsvdPageStartOffset; /* Reserve page start offset except
* beacon in TxQ.
*/

/* Add for dual MAC 0--Mac0 1--Mac1 */
u32 interfaceIndex;
Expand Down

0 comments on commit 33bbc15

Please sign in to comment.