projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14cbc1d
)
i2c: pnx: remove superfluous assignment
author
Wolfram Sang
<wsa@the-dreams.de>
Sun, 25 Oct 2015 15:20:59 +0000
(16:20 +0100)
committer
Wolfram Sang
<wsa@the-dreams.de>
Fri, 30 Oct 2015 11:35:58 +0000
(12:35 +0100)
smatch rightfully says:
drivers/i2c/busses/i2c-pnx.c:499 i2c_pnx_xfer warn: unused return: stat = ioread32()
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pnx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-pnx.c
b/drivers/i2c/busses/i2c-pnx.c
index cdbf6320cb909ef8169792b92faea3b005c232fb..1b8bf368be0c15647332b487e75aabd25d160414 100644
(file)
--- a/
drivers/i2c/busses/i2c-pnx.c
+++ b/
drivers/i2c/busses/i2c-pnx.c
@@
-496,7
+496,7
@@
i2c_pnx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
struct i2c_msg *pmsg;
int rc = 0, completed = 0, i;
struct i2c_pnx_algo_data *alg_data = adap->algo_data;
- u32 stat
= ioread32(I2C_REG_STS(alg_data))
;
+ u32 stat;
dev_dbg(&alg_data->adapter.dev,
"%s(): entering: %d messages, stat = %04x.\n",