Skip to content

Commit

Permalink
net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lee Jones authored and David S. Miller committed Aug 15, 2020
1 parent d1ad06b commit 81dbf21
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/fddi/skfp/cfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
#define KERNEL
#include "h/smtstate.h"

#ifndef lint
static const char ID_sccs[] = "@(#)cfm.c 2.18 98/10/06 (C) SK " ;
#endif

/*
* FSM Macros
*/
Expand Down

0 comments on commit 81dbf21

Please sign in to comment.