Skip to content

Commit

Permalink
Staging: comedi: addi_amcc_S5920.c: Checkpatch cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrea Gelmini authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 48d07f2 commit 015fadb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 015fadb

Please sign in to comment.