mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
staging: iio: adt7316: 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
e3f9555202
commit
8f27f7323f
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
static int adt7316_i2c_read(void *client, u8 reg, u8 *data)
|
||||
{
|
||||
struct i2c_client *cl = client;
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
ret = i2c_smbus_write_byte(cl, reg);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue