diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-07 15:47:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 15:31:13 +0900 |
commit | e4effc094c91706c5737530ef9ae6298e1d67512 (patch) | |
tree | 61a4e3337ef7cf30652b4890b46b0f62521f144a /net/batman-adv/log.c | |
parent | be61a484af474c1f9c7a25a71a7065efe20984b8 (diff) | |
download | linux-e4effc094c91706c5737530ef9ae6298e1d67512.tar.bz2 |
net: vxge: remove redundant assignments and pointers
There are several pointers that are being assigned but never read
so remove these as they are redundant. Also remove an assignment
to function_mode that is never read. Cleans up several clang
warnings:
vxge-main.c:1139:2: warning: Value stored to 'hldev' is never read
vxge-main.c:1294:2: warning: Value stored to 'hldev' is never read
vxge-main.c:2188:2: warning: Value stored to 'dev' is never read
vxge-main.c:2188:2: warning: Value stored to 'dev' is never read
vxge-main.c:2723:2: warning: Value stored to 'function_mode' is
never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/log.c')
0 files changed, 0 insertions, 0 deletions