Re: [PATCH 1/1] staging: ozwpan: Move code from success handling to error handling

2015-02-10 Thread Dan Carpenter
On Tue, Feb 10, 2015 at 12:08:14PM +0100, Quentin Lambert wrote: > > On 10/02/2015 12:04, Dan Carpenter wrote: > >On Tue, Feb 10, 2015 at 11:42:08AM +0100, Quentin Lambert wrote: > >>The original version was success handling rather than error handling, > >>therefore this patch reduces nesting. > >

Re: [PATCH 1/1] staging: ozwpan: Move code from success handling to error handling

2015-02-10 Thread Quentin Lambert
On 10/02/2015 12:04, Dan Carpenter wrote: On Tue, Feb 10, 2015 at 11:42:08AM +0100, Quentin Lambert wrote: The original version was success handling rather than error handling, therefore this patch reduces nesting. Signed-off-by: Quentin Lambert Fantastic. :) Thanks! regards, dan carpente

Re: [PATCH 1/1] staging: ozwpan: Move code from success handling to error handling

2015-02-10 Thread Dan Carpenter
On Tue, Feb 10, 2015 at 11:42:08AM +0100, Quentin Lambert wrote: > The original version was success handling rather than error handling, > therefore this patch reduces nesting. > > Signed-off-by: Quentin Lambert Fantastic. :) Thanks! regards, dan carpenter ___

[PATCH 1/1] staging: ozwpan: Move code from success handling to error handling

2015-02-10 Thread Quentin Lambert
The original version was success handling rather than error handling, therefore this patch reduces nesting. Signed-off-by: Quentin Lambert --- drivers/staging/ozwpan/ozhcd.c | 18 +++--- drivers/staging/ozwpan/ozpd.c | 53 +- 2 files changed, 37 i