[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZPku2UC5g99ILEI3@midnight>
Date: Thu, 7 Sep 2023 12:00:57 +1000
From: Angus Gardner <angusg778@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH] Staging: wlan-ng: Removed unnecessary parentheses in wlan-ng
driver cfg80211.
Signed-off-by: Angus Gardner <angusg778@...il.com>
---
drivers/staging/wlan-ng/cfg80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 471bb310176f..d7d8a99adf52 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -351,8 +351,8 @@ static int prism2_scan(struct wiphy *wiphy,
msg2->bssindex.data = i;
result = p80211req_dorequest(wlandev, (u8 *)&msg2);
- if ((result != 0) ||
- (msg2->resultcode.data != P80211ENUM_resultcode_success)) {
+ if (result != 0 ||
+ msg2->resultcode.data != P80211ENUM_resultcode_success) {
break;
}
--
2.40.1
Powered by blists - more mailing lists