]> git.sur5r.net Git - u-boot/commit
net: e1000: Mark _disable_wr() and _write_status() as __maybe_unused
authorBin Meng <bmeng.cn@gmail.com>
Mon, 16 Nov 2015 09:19:18 +0000 (01:19 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 Dec 2015 02:01:57 +0000 (20:01 -0600)
commit140bc33e05382545b762ef51d6fc31dd5b6ec82c
tree28944581ae991cd0cc892892ade812e50003cd11
parentc65a5f4f7f50ad2e8ed0d0963eb238551c5d6b65
net: e1000: Mark _disable_wr() and _write_status() as __maybe_unused

Per the comments, e1000_spi_eeprom_disable_wr() and
e1000_spi_eeprom_write_status() have been tested.
Remove the #if 0, #endif and mark them as __maybe_unused.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/e1000_spi.c