mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
power: supply: isp1704: remove redundant assignment to variable ret
The variable ret is being assigned with a value that is never
read and it is being updated later with a new value. The
assignment is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
parent
5c35ba9b47
commit
72e538f6ee
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ static inline int isp1704_test_ulpi(struct isp1704_charger *isp)
|
|||
int vendor;
|
||||
int product;
|
||||
int i;
|
||||
int ret = -ENODEV;
|
||||
int ret;
|
||||
|
||||
/* Test ULPI interface */
|
||||
ret = isp1704_write(isp, ULPI_SCRATCH, 0xaa);
|
||||
|
|
|
|||
Loading…
Reference in a new issue