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)
commit993cac15d1194b7ff03da67993b82c4b21680739
treec00933a4d815d419c3a28b9baf5a2bf42c743c4b
parentfb980ef7415fd9ff00c5aef05a52358b0dea762d
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