[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <adbbb5243dca7998a31a786eef277bd85068c63a.1616748922.git.braoult@gmail.com>
Date: Fri, 26 Mar 2021 10:48:33 +0100
From: Bruno Raoult <braoult@...il.com>
To: gregkh@...uxfoundation.org, straube.linux@...il.com,
zhaoxiao@...ontech.com, dan.carpenter@...cle.com
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Bruno Raoult <braoult@...il.com>
Subject: [PATCH 3/5] r8192U_wx.c: style: braces all arms of statement
fix checkpatch.pl check:
CHECK: braces {} should be used on all arms of this statement
in drivers/staging/rtl8192u/r8192U_wx.c
Signed-off-by: Bruno Raoult <braoult@...il.com>
---
drivers/staging/rtl8192u/r8192U_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c
index 039471bcd5b1..03791613853f 100644
--- a/drivers/staging/rtl8192u/r8192U_wx.c
+++ b/drivers/staging/rtl8192u/r8192U_wx.c
@@ -429,9 +429,9 @@ static int r8192_wx_set_frag(struct net_device *dev,
{
struct r8192_priv *priv = ieee80211_priv(dev);
- if (wrqu->frag.disabled)
+ if (wrqu->frag.disabled) {
priv->ieee80211->fts = DEFAULT_FRAG_THRESHOLD;
- else {
+ } else {
if (wrqu->frag.value < MIN_FRAG_THRESHOLD ||
wrqu->frag.value > MAX_FRAG_THRESHOLD)
return -EINVAL;
--
2.27.0
Powered by blists - more mailing lists