Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rickard Strandqvist and committed by
David S. Miller
6af01a70 7841d5d6

-12
-12
drivers/net/fddi/skfp/smt.c
··· 1736 1736 } 1737 1737 #endif 1738 1738 1739 - #ifdef AM29K 1740 - int smt_ifconfig(int argc, char *argv[]) 1741 - { 1742 - if (argc >= 2 && !strcmp(argv[0],"opt_bypass") && 1743 - !strcmp(argv[1],"yes")) { 1744 - smc->mib.fddiSMTBypassPresent = 1 ; 1745 - return 0; 1746 - } 1747 - return amdfddi_config(0, argc, argv); 1748 - } 1749 - #endif 1750 - 1751 1739 /* 1752 1740 * return static mac index 1753 1741 */