Re: [U-Boot] [PATCH 1/3] dm9000: mark dump_regs() function as unused

2014-10-20 Thread Tom Rini
On Mon, Oct 20, 2014 at 09:59:43AM -0500, Andrew Ruder wrote: > dump_regs() is a handy function to keep around for bringing up a new > dm9000-based board, but defining CONFIG_DM9000_DEBUG only adds the > function - nowhere currently uses it. Rather than remove a potentially > useful function, let

[U-Boot] [PATCH 1/3] dm9000: mark dump_regs() function as unused

2014-10-20 Thread Andrew Ruder
dump_regs() is a handy function to keep around for bringing up a new dm9000-based board, but defining CONFIG_DM9000_DEBUG only adds the function - nowhere currently uses it. Rather than remove a potentially useful function, let's just tell gcc to not emit a warning when it is unused. Signed-off-b