]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: fix two mild warnings
authorAlex Elder <elder@linaro.org>
Mon, 28 Sep 2020 23:04:44 +0000 (18:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 01:34:56 +0000 (18:34 -0700)
commit5cc9d70c351b8ce9b958cdfecb7f5abab7fcc6dc
treec00933a4d815d419c3a28b9baf5a2bf42c743c4b
parent5eda37898b651861d3f13b952098dce754e59cf7
net: ipa: fix two mild warnings

Fix two spots where a variable "channel_id" is unnecessarily
redefined inside loops in "gsi.c".  This is warned about if
"W=2" is added to the build command.

Note that this problem is harmless, so there's no need to backport
it as a bugfix.

Remove a comment in gsi_init() about waking the system; the GSI
interrupt does not wake the system any more.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c