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:
e02243e
)
net: fddi: skfp: srf: Remove defined but unused variable 'ID_sccs'
author
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Nov 2020 11:44:58 +0000
(11:44 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 4 Nov 2020 00:34:25 +0000
(16:34 -0800)
Fixes the following W=1 kernel build warning(s):
drivers/net/fddi/skfp/srf.c:30: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-17-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/fddi/skfp/srf.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/skfp/srf.c
b/drivers/net/fddi/skfp/srf.c
index
f98d060
..
4cad68c
100644
(file)
--- a/
drivers/net/fddi/skfp/srf.c
+++ b/
drivers/net/fddi/skfp/srf.c
@@
-26,11
+26,6
@@
#ifndef SLIM_SMT
#ifndef BOOT
-#ifndef lint
-static const char ID_sccs[] = "@(#)srf.c 1.18 97/08/04 (C) SK " ;
-#endif
-
-
/*
* function declarations
*/