Re: [PATCH v2 1/2] asus-laptop: remove redundant initializers

2016-04-21 Thread Andy Shevchenko
On Sat, Apr 16, 2016 at 3:01 AM, Giedrius Statkevičius wrote: > Initializing rv to AE_OK is pointless because later function results are > assigned to them and only then the variable is used > > Signed-off-by: Giedrius Statkevičius

Re: [PATCH v2 1/2] asus-laptop: remove redundant initializers

2016-04-21 Thread Andy Shevchenko
On Sat, Apr 16, 2016 at 3:01 AM, Giedrius Statkevičius wrote: > Initializing rv to AE_OK is pointless because later function results are > assigned to them and only then the variable is used > > Signed-off-by: Giedrius Statkevičius Fine to me: Acked-by: Andy Shevchenko > --- >

[PATCH v2 1/2] asus-laptop: remove redundant initializers

2016-04-15 Thread Giedrius Statkevičius
Initializing rv to AE_OK is pointless because later function results are assigned to them and only then the variable is used Signed-off-by: Giedrius Statkevičius --- drivers/platform/x86/asus-laptop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v2 1/2] asus-laptop: remove redundant initializers

2016-04-15 Thread Giedrius Statkevičius
Initializing rv to AE_OK is pointless because later function results are assigned to them and only then the variable is used Signed-off-by: Giedrius Statkevičius --- drivers/platform/x86/asus-laptop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git