diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-18 10:07:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 17:28:18 +0300 |
commit | 8d324fd9e1bee59274d67a0a08eac5f7b1573db7 (patch) | |
tree | ff28e2e2d7800452d47c4f5bac213d5a498043b3 /drivers/net/ethernet/synopsys | |
parent | 5cbee5573604e6c6170911bdfb78e2a0e6aa142e (diff) | |
download | linux-8d324fd9e1bee59274d67a0a08eac5f7b1573db7.tar.xz |
net/hsr: Remove unused but set variable
Remove the unused but set variable master_dev in check_local_dest to fix
the following GCC warning when building with 'W=1':
net/hsr/hsr_forward.c: In function ‘check_local_dest’:
net/hsr/hsr_forward.c:303:21: warning: variable ‘master_dev’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys')
0 files changed, 0 insertions, 0 deletions