smc91111_eeprom: drop CONFIG stub protection
PATCH 1/1 smc91111_eeprom: drop CONFIG stub protection
Since the Makefile now controls the compilation of this, there is no need for CONFIG checking nor the stub function.
Signed-off-by Mike Frysinger <[email protected]>
--- examples/standalone/smc91111_eeprom.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
examples/standalone/smc91111_eeprom.c +0 -12
@@ -33,8 +33,6 @@struct eth_device {unsigned long iobase; };#include "../drivers/net/smc91111.h" -#ifdef CONFIG_SMC91111 -#ifndef SMC91111_EEPROM_INIT # define SMC91111_EEPROM_INIT ()#endif
@@ -391,13 +389,3 @@ void dump_reg (struct eth_device *dev)printf ("\n" ); } } - -#else - -int smc91111_eeprom (int argc,char *argv[]) -{ -printf ("Not supported for this board\n" ); -return 1 ; -} - -#endif
Signature · 1 line
1.6.5.2
Wolfgang Denk
AppliedPATCH 1/1 smc91111_eeprom: drop CONFIG stub protection
Dear Mike Frysinger,
Quoted 7 lines · In message <[email protected]> you wrote:
Since the
Makefilenow controls the compilation of this, there is no need for CONFIG checking nor the stub function.Signed-off-by Mike Frysinger <[email protected]>--- examples/standalone/smc91111_eeprom.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If the facts don't fit the theory, change the facts.
-- Albert Einstein