[PATCH 2/8] staging: r8188eu: remove unused oid_null_function function
From: Phillip Potter
Date: Tue Aug 10 2021 - 19:51:08 EST
Remove unused oid_null_function function from include/rtw_ioctl.h
Signed-off-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx>
---
drivers/staging/r8188eu/include/rtw_ioctl.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/r8188eu/include/rtw_ioctl.h b/drivers/staging/r8188eu/include/rtw_ioctl.h
index 7ebc52f008a0..a36bd7313755 100644
--- a/drivers/staging/r8188eu/include/rtw_ioctl.h
+++ b/drivers/staging/r8188eu/include/rtw_ioctl.h
@@ -76,12 +76,6 @@ struct oid_obj_priv {
int (*oidfuns)(struct oid_par_priv *poid_par_priv);
};
-#if defined(_RTW_MP_IOCTL_C_)
-static int oid_null_function(struct oid_par_priv *poid_par_priv) {
- return NDIS_STATUS_SUCCESS;
-}
-#endif
-
extern struct iw_handler_def rtw_handlers_def;
int drv_query_info(struct net_device *miniportadaptercontext, NDIS_OID oid,
--
2.31.1