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:
b8e6ea2
)
net: fddi: skfp: pmf: Remove defined but unused variable 'ID_sccs'
author
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Nov 2020 11:44:49 +0000
(11:44 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 4 Nov 2020 00:32:40 +0000
(16:32 -0800)
Fixes the following W=1 kernel build warning(s):
drivers/net/fddi/skfp/pmf.c:28: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-8-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/fddi/skfp/pmf.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/skfp/pmf.c
b/drivers/net/fddi/skfp/pmf.c
index
14f10b4
..
563fb7f
100644
(file)
--- a/
drivers/net/fddi/skfp/pmf.c
+++ b/
drivers/net/fddi/skfp/pmf.c
@@
-24,10
+24,6
@@
#ifndef SLIM_SMT
-#ifndef lint
-static const char ID_sccs[] = "@(#)pmf.c 1.37 97/08/04 (C) SK " ;
-#endif
-
static int smt_authorize(struct s_smc *smc, struct smt_header *sm);
static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm);
static const struct s_p_tab* smt_get_ptab(u_short para);