]> git.baikalelectronics.ru Git - kernel.git/commit
net/hamradio/6pack: remove redundant variable channel
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Jul 2018 10:11:07 +0000 (11:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 10:34:45 +0000 (19:34 +0900)
commit51e2da7caaa2b0733e3da61ab628652ffa4f5dab
treea61bd13934fc63506363bf2800d5736d5b8c471e
parent6b08754e19e39a520ee7700db6b16dd324a91b20
net/hamradio/6pack: remove redundant variable channel

Variable channel is being assigned but is never used hence it is
redundant and can be removed.

Cleans up two clang warnings:
warning: variable 'channel' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/6pack.c