[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201102114512.1062724-3-lee.jones@linaro.org>
Date: Mon, 2 Nov 2020 11:44:44 +0000
From: Lee Jones <lee.jones@...aro.org>
To: davem@...emloft.net
Cc: Lee Jones <lee.jones@...aro.org>, Jakub Kicinski <kuba@...nel.org>,
netdev@...r.kernel.org
Subject: [PATCH 02/30] net: fddi: skfp: ecm: 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/ecm.c: In function ‘ecm_fsm’:
drivers/net/fddi/skfp/ecm.c:44:19: warning: ‘ID_sccs’ defined but not used [-Wunused-const-variable=]
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Jakub Kicinski <kuba@...nel.org>
Cc: Lee Jones <lee.jones@...aro.org>
Cc: netdev@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/net/fddi/skfp/ecm.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/fddi/skfp/ecm.c b/drivers/net/fddi/skfp/ecm.c
index 97f3efd5eb13c..2f5f5f26bb434 100644
--- a/drivers/net/fddi/skfp/ecm.c
+++ b/drivers/net/fddi/skfp/ecm.c
@@ -40,10 +40,6 @@
#define KERNEL
#include "h/smtstate.h"
-#ifndef lint
-static const char ID_sccs[] = "@(#)ecm.c 2.7 99/08/05 (C) SK " ;
-#endif
-
/*
* FSM Macros
*/
--
2.25.1
Powered by blists - more mailing lists