Re: [PATCH v2 2/3] Sony-laptop: Delete an unnecessary variable initialisation in sony_nc_setup_rfkill()

2017-11-03 Thread Andy Shevchenko
On Wed, Nov 1, 2017 at 8:47 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 1 Nov 2017 19:00:59 +0100 > > The local variable "err" will eventually be set to an appropriate value > a bit later. Thus omit the explicit

Re: [PATCH v2 2/3] Sony-laptop: Delete an unnecessary variable initialisation in sony_nc_setup_rfkill()

2017-11-03 Thread Andy Shevchenko
On Wed, Nov 1, 2017 at 8:47 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 1 Nov 2017 19:00:59 +0100 > > The local variable "err" will eventually be set to an appropriate value > a bit later. Thus omit the explicit initialisation at the beginning. Applied to my review and

[PATCH v2 2/3] Sony-laptop: Delete an unnecessary variable initialisation in sony_nc_setup_rfkill()

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 19:00:59 +0100 The local variable "err" will eventually be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH v2 2/3] Sony-laptop: Delete an unnecessary variable initialisation in sony_nc_setup_rfkill()

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 19:00:59 +0100 The local variable "err" will eventually be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/platform/x86/sony-laptop.c | 2 +- 1 file changed, 1