From ea9eb1b550638d14af93661735c7001c2a0c0482 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Sat, 15 Jan 2022 17:55:27 +0100 Subject: [PATCH] staging: r8188eu: remove unused macros Remove some unused macros from osdep_service.h. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20220115165536.231210-3-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- drivers/staging/r8188eu/include/osdep_service.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/r8188eu/include/osdep_service.h b/drivers/staging/r8188eu/include/osdep_service.h index f42e151..2f6b8ac 100644 --- a/drivers/staging/r8188eu/include/osdep_service.h +++ b/drivers/staging/r8188eu/include/osdep_service.h @@ -70,10 +70,6 @@ static inline void _cancel_timer(struct timer_list *ptimer,u8 *bcancelled) *bcancelled= true;/* true ==1; false==0 */ } -#define RTW_TIMER_HDL_ARGS void *FunctionContext -#define RTW_TIMER_HDL_NAME(name) rtw_##name##_timer_hdl -#define RTW_DECLARE_TIMER_HDL(name) void RTW_TIMER_HDL_NAME(name)(RTW_TIMER_HDL_ARGS) - static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) { return netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && -- 2.7.4