]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/e1000_spi.c: Fix build warnings
authorAnatolij Gustschin <agust@denx.de>
Tue, 20 Dec 2011 02:29:03 +0000 (02:29 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Dec 2011 22:13:49 +0000 (23:13 +0100)
commitdeb7282f9ff2b1946628240d0a103f2907b60147
treee5c8115a9a1c2eb39215fac104b6adbaf803d6ee
parent38bd80b4856254916e886488f8e455e3bc15fdbe
drivers/net/e1000_spi.c: Fix build warnings

Fix:
e1000_spi.c: In function 'spi_free_slave':
e1000_spi.c:115: warning: unused variable 'hw'
e1000_spi.c: In function 'do_e1000_spi':
e1000_spi.c:472: warning: 'checksum' may be used uninitialized in this function
e1000_spi.c:472: note: 'checksum' was declared here

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Acked-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
drivers/net/e1000_spi.c