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>
This commit is contained in:
Andrea Gelmini 2010-02-26 10:14:56 +01:00 committed by Greg Kroah-Hartman
parent 48d07f2bf3
commit 015fadba7c

View File

@ -173,11 +173,10 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
} while (dw_eeprom_busy == EEPROM_BUSY); } while (dw_eeprom_busy == EEPROM_BUSY);
/* Select the upper address part */ /* Select the upper address part */
if (i_Counter == 0) { if (i_Counter == 0)
b_ReadLowByte = pb_ReadByte[0]; b_ReadLowByte = pb_ReadByte[0];
} else { else
b_ReadHighByte = pb_ReadByte[0]; b_ReadHighByte = pb_ReadByte[0];
}
/* Sleep */ /* Sleep */
msleep(1); msleep(1);