diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2010-02-26 10:14:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:43:05 -0800 |
commit | 015fadba7c30a082cc8efa0f353be096b75e3952 (patch) | |
tree | c40b148548971ecb3298549faa0a01af27d28aa0 /drivers/staging | |
parent | 48d07f2bf3fd6d0bbe7577f1844f7edfaf7399f6 (diff) | |
download | kernel_samsung_aries-015fadba7c30a082cc8efa0f353be096b75e3952.zip kernel_samsung_aries-015fadba7c30a082cc8efa0f353be096b75e3952.tar.gz kernel_samsung_aries-015fadba7c30a082cc8efa0f353be096b75e3952.tar.bz2 |
Staging: comedi: addi_amcc_S5920.c: Checkpatch cleanup
WARNING: braces {} are not necessary for any arm of this statement
+ if (i_Counter == 0) {
[...]
+ } else {
[...]
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c b/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c index bd7e461..97c10aa 100644 --- a/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c +++ b/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c @@ -173,11 +173,10 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead, } while (dw_eeprom_busy == EEPROM_BUSY); /* Select the upper address part */ - if (i_Counter == 0) { + if (i_Counter == 0) b_ReadLowByte = pb_ReadByte[0]; - } else { + else b_ReadHighByte = pb_ReadByte[0]; - } /* Sleep */ msleep(1); |