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:
6a60a7a
)
net: fddi: skfp: rmt: Remove defined but unused variable 'ID_sccs'
author
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Nov 2020 11:44:51 +0000
(11:44 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 4 Nov 2020 00:33:08 +0000
(16:33 -0800)
Fixes the following W=1 kernel build warning(s):
drivers/net/fddi/skfp/rmt.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-10-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/fddi/skfp/rmt.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/skfp/rmt.c
b/drivers/net/fddi/skfp/rmt.c
index
c0e62c2
..
37a8967
100644
(file)
--- a/
drivers/net/fddi/skfp/rmt.c
+++ b/
drivers/net/fddi/skfp/rmt.c
@@
-45,10
+45,6
@@
#define KERNEL
#include "h/smtstate.h"
-#ifndef lint
-static const char ID_sccs[] = "@(#)rmt.c 2.13 99/07/02 (C) SK " ;
-#endif
-
/*
* FSM Macros
*/