[PATCH] net: wireless: cw1200: Remove extra parentheses

2018-07-25 Thread Varsha Rao
Remove unnecessary parentheses to fix the extraneous parentheses clang warning. Signed-off-by: Varsha Rao --- drivers/net/wireless/st/cw1200/txrx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200

[PATCH] net: wireless: brcmsmac: Remove extra parentheses

2018-07-25 Thread Varsha Rao
Remove the unnecessary parentheses to fix the clang warning of extraneous parentheses. Signed-off-by: Varsha Rao --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211

[PATCH] net: wireless: ath9k: Remove unnecessary parentheses

2018-07-25 Thread Varsha Rao
Remove extra parentheses to fix the clang warning of extraneous parentheses. Signed-off-by: Varsha Rao --- drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c b/drivers/net/wireless/ath/ath9k

[PATCH] net: wireless: ath6kl: Remove unnecessary parentheses

2018-07-25 Thread Varsha Rao
Remove extra parentheses to fix the clang warning of extraneous parentheses. Signed-off-by: Varsha Rao --- drivers/net/wireless/ath/ath6kl/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c

[PATCH 2/2] net: ipv4: Use BIT macro.

2017-03-29 Thread Varsha Rao
Replace bitwise left shift by one operations with BIT() macro. This patch fixes the checkpatch issue. Signed-off-by: Varsha Rao <rvarsha...@gmail.com> --- net/ipv4/tcp_bbr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_bbr.c b/net/ipv4/tcp_bbr.c

[PATCH 1/2] net: ipv4: Use macro DIV_ROUND_UP.

2017-03-29 Thread Varsha Rao
,e2) ) Signed-off-by: Varsha Rao <rvarsha...@gmail.com> --- net/ipv4/tcp_bbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_bbr.c b/net/ipv4/tcp_bbr.c index b89bce4..4da4bc1 100644 --- a/net/ipv4/tcp_bbr.c +++ b/net/ipv4/tcp_bbr.c @@ -314,7 +314,7 @@ stat

[PATCH 0/2] net: ipv4: Use DIV_ROUND_UP and BIT macros.

2017-03-29 Thread Varsha Rao
This patchset uses DIV_ROUND_UP and BIT macros to simplify computations in tcp_bbr.c file. Varsha Rao (2): net: ipv4: Use DIV_ROUND_UP macro. net: ipv4: Use BIT macro. net/ipv4/tcp_bbr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.9.3