staging: r8188eu: remove unused bpending array
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:38 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:22 +0000 (19:31 +0100)
The bpending array in struct xmit_buf is unused. Remove it.

(struct xmit_buf is not part of the interface between the kernel driver and
the device's firmware. It's safe to remove components from this struct.)

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_xmit.h

index 6e7ebea..b017f92 100644 (file)
@@ -203,7 +203,6 @@ struct xmit_buf {
        u32     ff_hwaddr;
        struct urb *pxmit_urb;
        dma_addr_t dma_transfer_addr;   /* (in) dma addr for transfer_buffer */
-       u8 bpending[8];
        int last[8];
 };