misc: eeprom: assignment outside the if statement
commitb83a4141f025388fd1edeaa48789e3e166e95c7a
authorParth Y Shah <sparth1292@gmail.com>
Fri, 3 Aug 2018 09:20:43 +0000 (3 14:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:25:10 +0000 (5 16:25 +0200)
tree35db37e65b6876367364b454ef317f352714c577
parentf019f07ecf6a6b8bd6d7853bce70925d90af02d1
misc: eeprom: assignment outside the if statement

Assignment of any variable should be kept outside the if statement

Signed-off-by: Parth Y Shah <sparth1292@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/max6875.c