Re: [PATCH] staging: ft1000: fix braces warning

2015-02-03 Thread Joe Perches
On Tue, 2015-02-03 at 19:58 +0100, Bilel DRIRA wrote: > This patch fix the checkpatch.pl WARNING: [] > diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c > b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c [] > @@ -1963,11 +1948,10 @@ static irqreturn_t ft1000_interrupt(int irq, void

[PATCH] staging: ft1000: fix braces warning

2015-02-03 Thread Bilel DRIRA
This patch fix checkpatch.pl WARNING: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Bilel DRIRA --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 73 +- 1 file changed, 29 insertions(+), 44 deletions(-) diff --git a/drivers/staging/

Re: [PATCH] staging: ft1000: fix braces warning

2015-02-03 Thread Joe Perches
On Tue, 2015-02-03 at 21:05 +0100, bill wrote: > Ok,thank you, I will do that and resend the patch again. I wouldn't. It's probably better as a separate patch anyway. btw: please don't top post. cheers, Joe > On Tue, Feb 03, 2015 at 11:05:08AM -0800, Joe Perches wrote: > > On Tue, 2015-02-03 at

Re: [PATCH] staging: ft1000: fix braces warning

2015-02-03 Thread bill
Ok,thank you, I will do that and resend the patch again. On Tue, Feb 03, 2015 at 11:05:08AM -0800, Joe Perches wrote: > On Tue, 2015-02-03 at 19:58 +0100, Bilel DRIRA wrote: > > This patch fix the checkpatch.pl WARNING: > [] > > diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c > > b/

[PATCH] staging: ft1000: fix braces warning

2015-02-03 Thread Bilel DRIRA
This patch fix the checkpatch.pl WARNING: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Bilel DRIRA --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 78 +- 1 file changed, 31 insertions(+), 47 deletions(-) diff --git a/drivers/stag