e1000: fix unused variable waring for e1000 driver
authorZang Roy-R61911 <tie-fei.zang@freescale.com>
Sun, 6 Nov 2011 22:22:36 +0000 (22:22 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 17 Nov 2011 09:00:27 +0000 (10:00 +0100)
commit56b13b1e06473d189bc202eb8a541d673fd20247
treec14fa7efa71b668c16b0e61f75a0ddddd4d2cb8e
parenta22481febed5cf6bb1b8f0afb86c1772a153229a
e1000: fix unused variable waring for e1000 driver

Fix the following build warning in drivers/net/e1000.c

e1000.c: In function 'e1000_reset_hw':
e1000.c:1373:11: warning: variable 'icr' set but not used [-Wunused-but-set-variable]
e1000.c: In function 'e1000_phy_init_script':
e1000.c:4395:11: warning: variable 'ret_val' set but not used [-Wunused-but-set-variable]

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Kyle Moffett <Kyle.D.Moffett@boeing.com>
drivers/net/e1000.c