From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:30 +0000 (+0200) Subject: staging: rtl8723au: Remove unused pintf_dev entry from struct intf_hdl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad0fb71b20524cf48db036d6909fef9e1456011b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: Remove unused pintf_dev entry from struct intf_hdl Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/usb_ops_linux.c b/drivers/staging/rtl8723au/hal/usb_ops_linux.c index c861a791f43d..4b23e8a6e194 100644 --- a/drivers/staging/rtl8723au/hal/usb_ops_linux.c +++ b/drivers/staging/rtl8723au/hal/usb_ops_linux.c @@ -821,7 +821,6 @@ void rtl8723au_set_intf_ops(struct rtw_adapter *padapter) struct _io_ops *pops = &pintf->io_ops; pintf->padapter = padapter; - pintf->pintf_dev = adapter_to_dvobj(padapter); memset((u8 *)pops, 0, sizeof(struct _io_ops)); diff --git a/drivers/staging/rtl8723au/include/rtw_io.h b/drivers/staging/rtl8723au/include/rtw_io.h index 86ecbea77ed3..2abc24d429cd 100644 --- a/drivers/staging/rtl8723au/include/rtw_io.h +++ b/drivers/staging/rtl8723au/include/rtw_io.h @@ -137,10 +137,8 @@ struct io_req { struct intf_hdl { struct rtw_adapter *padapter; - struct dvobj_priv *pintf_dev;/* pointer to &(padapter->dvobjpriv); */ struct _io_ops io_ops; - }; struct reg_protocol_rd {