Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 015fadba authored by Andrea Gelmini's avatar Andrea Gelmini Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 48d07f2b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);