]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs'
authorLee Jones <lee.jones@linaro.org>
Fri, 14 Aug 2020 11:39:32 +0000 (12:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Aug 2020 03:42:25 +0000 (20:42 -0700)
commit81dbf2191f60ccf90f65171d6593c420ee05507f
tree2cd4a16d9d83ab8d87ef8596bee12927ba6d6ea6
parentd1ad06ba7e47a2cb5522d7e81aed1a76abdef41c
net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs'

This variable is present in many source files and has not been used
anywhere (at least internally) since it was introduced.

Fixes the following W=1 kernel build warning(s):

 drivers/net/fddi/skfp/cfm.c: In function ‘cfm’:
 drivers/net/fddi/skfp/cfm.c:211:6: warning: variable ‘oldstate’ set but not used [-Wunused-but-set-variable]
 drivers/net/fddi/skfp/cfm.c:40:19: warning: ‘ID_sccs’ defined but not used [-Wunused-const-variable=]

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/skfp/cfm.c