mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:10:52 +07: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 <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190905140919.29283-1-colin.king@canonical.com Reviewed-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
0351827168
commit
26098de168
@ -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 New Issue
Block a user