Re: [PATCH v2] ath10k: Remove return statement from a void function

2017-02-23 Thread Joe Perches
On Wed, 2017-02-22 at 20:54 +0100, Arend Van Spriel wrote: > > On 21-2-2017 11:28, Marcin Rokicki wrote: > > The empty 'return;' statement in a void function should be > > used to return from somewhere else than the end. > > > > Signed-off-by: Marcin Rokicki > > --- > > > > Changes for v2 > >

Re: [PATCH v2] ath10k: Remove return statement from a void function

2017-02-22 Thread Arend Van Spriel
On 21-2-2017 11:28, Marcin Rokicki wrote: > The empty 'return;' statement in a void function should be > used to return from somewhere else than the end. > > Signed-off-by: Marcin Rokicki > --- > > Changes for v2 > -remove only return statement instead of empty err label > which can be used

[PATCH v2] ath10k: Remove return statement from a void function

2017-02-21 Thread Marcin Rokicki
The empty 'return;' statement in a void function should be used to return from somewhere else than the end. Signed-off-by: Marcin Rokicki --- Changes for v2 -remove only return statement instead of empty err label which can be used in the future --- drivers/net/wireless/ath/ath10k/core.c |