summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/eeprom.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-06-01 21:58:35 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2016-06-03 09:14:14 +0200
commit3d6832758711278393ef60f4e6568c77009d59d2 (patch)
treeedf94a1f749c1330ae113986c6dd82389ce606fe /drivers/net/e1000/eeprom.c
parent2ea081c242269616dbcec8c176fbf5589ec66078 (diff)
downloadbarebox-3d6832758711278393ef60f4e6568c77009d59d2.tar.gz
barebox-3d6832758711278393ef60f4e6568c77009d59d2.tar.xz
e1000: Do not read same register twice
EEPROM_INIT_CONTROL2_REG is already read once before entering this switch statement, so there's not much use in reading its value for the second time. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/e1000/eeprom.c')
0 files changed, 0 insertions, 0 deletions