Re: [PATCH] ath9k: remove unneeded variable

2019-09-16 Thread Kalle Valo
Ding Xiang wrote: > "len" is unneeded,just return 0 > > Signed-off-by: Ding Xiang ALWAYS build check your patches! I admit that ATH_DUMP_BTCOEX() is an evil macro as it uses len variable in secret, but if you had compiled your patch you would have noticed this immeadiately. In file included f

Re: [PATCH] ath9k: Remove unneeded variable to store return value

2019-09-10 Thread Kalle Valo
zhong jiang wrote: > ath9k_reg_rmw_single do not need return value to cope with different > cases. And change functon return type to void. > > Signed-off-by: zhong jiang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 45f09a1c5b85 ath9k: Remove unneeded varia

[PATCH] ath9k: remove unneeded variable

2019-09-10 Thread Ding Xiang
"len" is unneeded,just return 0 Signed-off-by: Ding Xiang --- drivers/net/wireless/ath/ath9k/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c index b457e52..f3d1bc0 100644 --- a/drivers/net

[PATCH] ath9k: Remove unneeded variable to store return value

2019-09-03 Thread zhong jiang
ath9k_reg_rmw_single do not need return value to cope with different cases. And change functon return type to void. Signed-off-by: zhong jiang --- drivers/net/wireless/ath/ath9k/htc_drv_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/h