Re: [PATCH v2] staging: r8712u: remove unused struct 'zero_bulkout_context'

From: Philipp Hortmann
Date: Sat Jun 01 2024 - 10:27:38 EST


On 6/1/24 15:16, linux@xxxxxxxxxxx wrote:
From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

Remove struct zero_bulkout_context as it is unused.

Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
---
V1 -> V2: Reword as per review
drivers/staging/rtl8712/usb_ops_linux.c | 7 -------
1 file changed, 7 deletions(-)

diff --git a/drivers/staging/rtl8712/usb_ops_linux.c b/drivers/staging/rtl8712/usb_ops_linux.c
index b2181e1e2d38..0a3451cdc8a1 100644
--- a/drivers/staging/rtl8712/usb_ops_linux.c
+++ b/drivers/staging/rtl8712/usb_ops_linux.c
@@ -26,13 +26,6 @@
#define RTL871X_VENQT_READ 0xc0
#define RTL871X_VENQT_WRITE 0x40
-struct zero_bulkout_context {
- void *pbuf;
- void *purb;
- void *pirp;
- void *padapter;
-};
-
uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv)
{
pintfpriv->piorw_urb = usb_alloc_urb(0, GFP_ATOMIC);


Tested-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> AW-NU120