Skip to content

Commit 81dbf21

Browse files
Lee Jonesdavem330
authored andcommitted
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" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Lee Jones <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d1ad06b commit 81dbf21

File tree

1 file changed

+0
-4
lines changed
  • drivers/net/fddi/skfp

1 file changed

+0
-4
lines changed

drivers/net/fddi/skfp/cfm.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
#define KERNEL
3737
#include "h/smtstate.h"
3838

39-
#ifndef lint
40-
static const char ID_sccs[] = "@(#)cfm.c 2.18 98/10/06 (C) SK " ;
41-
#endif
42-
4339
/*
4440
* FSM Macros
4541
*/

0 commit comments

Comments
 (0)