mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
staging: iio: light: tsl2x7x: remove useless initialization
Remove the initialization of a variable that is immediately reassigned. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
887d2198ac
commit
e3f9555202
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ static const u8 device_channel_config[] = {
|
|||
static int
|
||||
tsl2x7x_i2c_read(struct i2c_client *client, u8 reg, u8 *val)
|
||||
{
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
/* select register to write */
|
||||
ret = i2c_smbus_write_byte(client, (TSL2X7X_CMD_REG | reg));
|
||||
|
|
|
|||
Loading…
Reference in a new issue