mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
pinctrl: bcm: remove redundant assignment to pointer log
The pointer log is being initialized with a value that is never read
and is being re-assigned a little later on. The assignment is
redundant and hence can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ray Jui <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
0351827168
commit
26098de168
1 changed files with 0 additions and 1 deletions
|
|
@ -923,7 +923,6 @@ static int cygnus_mux_log_init(struct cygnus_pinctrl *pinctrl)
|
|||
if (!pinctrl->mux_log)
|
||||
return -ENOMEM;
|
||||
|
||||
log = pinctrl->mux_log;
|
||||
for (i = 0; i < CYGNUS_NUM_IOMUX_REGS; i++) {
|
||||
for (j = 0; j < CYGNUS_NUM_MUX_PER_REG; j++) {
|
||||
log = &pinctrl->mux_log[i * CYGNUS_NUM_MUX_PER_REG
|
||||
|
|
|
|||
Loading…
Reference in a new issue