summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2015-01-01 18:01:26 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-02 16:36:07 -0500
commit6af01a70f4f457dd6fdc556973e5429405bdf3aa (patch)
tree07d67486d41c81aa53313799fa18357cdc3cd3b2 /drivers/net/fddi
parent7841d5d622f8fb537e401f5b172c42bb111daf4a (diff)
downloadlinux-6af01a70f4f457dd6fdc556973e5429405bdf3aa.tar.gz
linux-6af01a70f4f457dd6fdc556973e5429405bdf3aa.tar.bz2
linux-6af01a70f4f457dd6fdc556973e5429405bdf3aa.zip
net: fddi: skfp: smt.c: Remove unused function
Remove the function smt_ifconfig() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r--drivers/net/fddi/skfp/smt.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c
index 9edada85ed02..cd78b7cacc75 100644
--- a/drivers/net/fddi/skfp/smt.c
+++ b/drivers/net/fddi/skfp/smt.c
@@ -1736,18 +1736,6 @@ char *addr_to_string(struct fddi_addr *addr)
}
#endif
-#ifdef AM29K
-int smt_ifconfig(int argc, char *argv[])
-{
- if (argc >= 2 && !strcmp(argv[0],"opt_bypass") &&
- !strcmp(argv[1],"yes")) {
- smc->mib.fddiSMTBypassPresent = 1 ;
- return 0;
- }
- return amdfddi_config(0, argc, argv);
-}
-#endif
-
/*
* return static mac index
*/