Re: [PATCH] platform: x86: remove redundant variable in hp-wireless.c

2014-11-07 Thread Rafael J. Wysocki
On Friday, November 07, 2014 10:28:23 AM Darren Hart wrote: > On Wed, Nov 05, 2014 at 01:47:19AM +0200, Giedrius Statkevicius wrote: > > Remove a variable because it only holds the results of a function call > > and then gets returned so instead just return the result of a function > > call. > > >

Re: [PATCH] platform: x86: remove redundant variable in hp-wireless.c

2014-11-07 Thread Darren Hart
On Wed, Nov 05, 2014 at 01:47:19AM +0200, Giedrius Statkevicius wrote: > Remove a variable because it only holds the results of a function call > and then gets returned so instead just return the result of a function > call. > > Signed-off-by: Giedrius Statkevičius > --- > drivers/platform/x86/h

[PATCH] platform: x86: remove redundant variable in hp-wireless.c

2014-11-04 Thread Giedrius Statkevicius
Remove a variable because it only holds the results of a function call and then gets returned so instead just return the result of a function call. Signed-off-by: Giedrius Statkevičius --- drivers/platform/x86/hp-wireless.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/