mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02: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);
|
||||
|
||||
/* 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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user