]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/hsr: Remove unused but set variable
authorTobias Klauser <tklauser@distanz.ch>
Tue, 18 Oct 2016 07:07:29 +0000 (09:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:28:18 +0000 (10:28 -0400)
commit8d324fd9e1bee59274d67a0a08eac5f7b1573db7
treeff28e2e2d7800452d47c4f5bac213d5a498043b3
parent5cbee5573604e6c6170911bdfb78e2a0e6aa142e
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>
net/hsr/hsr_forward.c