mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
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:
parent
48d07f2bf3
commit
015fadba7c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user