[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h6b7f6ph.fsf@kernel.org>
Date: Mon, 26 Aug 2024 22:02:34 +0300
From: Kalle Valo <kvalo@...nel.org>
To: Hongbo Li <lihongbo22@...wei.com>
Cc: <johannes@...solutions.net>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<allison.henderson@...cle.com>, <dsahern@...nel.org>,
<pshelar@....org>, <linux-wireless@...r.kernel.org>,
<netdev@...r.kernel.org>, <rds-devel@....oracle.com>,
<dccp@...r.kernel.org>, <dev@...nvswitch.org>,
<linux-afs@...ts.infradead.org>
Subject: Re: [PATCH net-next 1/8] net/mac80211: use max to simplify the code
Hongbo Li <lihongbo22@...wei.com> writes:
> The following Coccinelle/coccicheck warning reported by
> minmax.cocci:
> WARNING opportunity for max()
> Let's use max() to simplify the code and fix the warning.
>
> Signed-off-by: Hongbo Li <lihongbo22@...wei.com>
> ---
> net/mac80211/driver-ops.h | 2 +-
> net/mac80211/mlme.c | 2 +-
> net/mac80211/scan.c | 6 ++----
> net/mac80211/tdls.c | 2 +-
> 4 files changed, 5 insertions(+), 7 deletions(-)
mac80211 patches go to wireless-next, please submit this separately. And
the title should begin with 'wifi: mac80211:'.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists