projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9745aab
)
net: fddi: skfp: pcmplc: Remove defined but not used variable 'ID_sccs'
author
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Nov 2020 11:44:45 +0000
(11:44 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 4 Nov 2020 00:31:25 +0000
(16:31 -0800)
Fixes the following W=1 kernel build warning(s):
drivers/net/fddi/skfp/pcmplc.c:49:19: warning: ‘ID_sccs’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link:
https://lore.kernel.org/r/20201102114512.1062724-4-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/fddi/skfp/pcmplc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/skfp/pcmplc.c
b/drivers/net/fddi/skfp/pcmplc.c
index
554cde8
..
90e8df6
100644
(file)
--- a/
drivers/net/fddi/skfp/pcmplc.c
+++ b/
drivers/net/fddi/skfp/pcmplc.c
@@
-45,10
+45,6
@@
#define KERNEL
#include "h/smtstate.h"
-#ifndef lint
-static const char ID_sccs[] = "@(#)pcmplc.c 2.55 99/08/05 (C) SK " ;
-#endif
-
#ifdef FDDI_MIB
extern int snmp_fddi_trap(
#ifdef ANSIC