Browse Source

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>
Andrea Gelmini 15 years ago
parent
commit
015fadba7c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c

+ 2 - 3
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);