[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180301111500.lxge4yqfyi2najt6@mwanda>
Date: Thu, 1 Mar 2018 14:15:00 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: "Tobin C. Harding" <me@...in.cc>
Cc: Quytelda Kahja <quytelda@...alin.org>, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, driverdev-devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org, wsa@...-dreams.de
Subject: Re: [PATCH 3/5] staging: ks7010: Factor out repeated code into
function 'ks_wlan_cap()'.
On Thu, Mar 01, 2018 at 05:37:21PM +1100, Tobin C. Harding wrote:
> On Wed, Feb 28, 2018 at 09:19:09PM -0800, Quytelda Kahja wrote:
> > The code that generates a WLAN capability mask is repeated in five
> > functions. This change refactors that code into a new function, which is
> > called now in each of those functions.
>
> Perhaps in future something like:
>
> Code to generate the WLAN capability mask is duplicated five times
>
> Add helper function to generate WLAN capability mask, refactor code to
> use newly defined function.
>
I honestly don't see the difference between that and what Quytelda
wrote? I understood the original changelog just fine.
regards,
dan carpenter
Powered by blists - more mailing lists