[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YkxOitByai03u8Qc@kroah.com>
Date: Tue, 5 Apr 2022 16:13:30 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Vihas Makwana <makvihas@...il.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Phillip Potter <phil@...lpotter.co.uk>,
Michael Straube <straube.linux@...il.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
Pavel Skripkin <paskripkin@...il.com>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] staging: r8188eu: drop redundant if check in
check_fwstate
On Tue, Apr 05, 2022 at 06:12:39PM +0530, Vihas Makwana wrote:
> The if check is redundant. Drop it and simplify the funciton.
>
> Also, drop clr_fwstate(), clr_fwstate_ex(), up_scanned_network() and
> down_scanned_network() as they are not used anywhere.
When you write "also" in a changelog text, that's a huge hint that you
should break this up into multiple patches.
Remember, do only one logical thing per change. This should be split up
into 2 patches.
thanks,
greg k-h
Powered by blists - more mailing lists