[PATCH] Staging: wlan-ng: improve code aspect in p80211req_mibset_mibget()

Greg KH gregkh at linuxfoundation.org
Mon Sep 12 11:19:32 UTC 2016


On Tue, Sep 06, 2016 at 07:30:50PM +0300, Claudiu Beznea wrote:
> This patch improves code aspect in p80211req_mibset_mibget() function
> by removing accolades which followed case statements. To do so,
> some data variable ware declared at the beginning of the
> function and also pstr and key variables were initialized
> only in the code which uses them.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea at gmail.com>
> ---
>  drivers/staging/wlan-ng/p80211req.c | 33 ++++++++++++++++++---------------
>  1 file changed, 18 insertions(+), 15 deletions(-)

Didn't apply to my tree for some reason, can you refresh and resend?

thanks,

greg k-h


More information about the devel mailing list