net: fddi: skfp: smt.c: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 1 Jan 2015 17:01:26 +0000 (18:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jan 2015 21:36:07 +0000 (16:36 -0500)
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>
drivers/net/fddi/skfp/smt.c

index 9edada85ed02dfb8aec4e7ef95859bc1058fc4b8..cd78b7cacc753150a7e63f1ecd33d59e75d12e5e 100644 (file)
@@ -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
  */