Commit 732053a0 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: Remove parentheses from return arguments



Remove unnecessary parentheses from return arguments.

The Coccinelle semantic patch that makes this change is as follows:

// <smpl>
@@
identifier i;
constant c;
@@

return
- (
    \(i\|-i\|i(...)\|c\)
- )
  ;
// </smpl>

Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 720f7a78
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ static long hw_i2c_wait_tx_done(void)
		timeout--;

	if (timeout == 0)
		return (-1);
		return -1;

	return 0;
}
@@ -248,7 +248,7 @@ int sm750_hw_i2c_write_reg(
	if (hw_i2c_write_data(addr, 2, value) == 2)
		return 0;

	return (-1);
	return -1;
}

#endif
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ long sii164InitChip(
	}

	/* Return -1 if initialization fails. */
	return (-1);
	return -1;
}