summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorPrasad Joshi2014-03-23 10:28:40 +0100
committerStefan Hajnoczi2014-04-25 13:40:03 +0200
commit16cf0b2b343d0bce1ab69ca14c898b3406234f80 (patch)
tree7c09d5bcf9f6dcab203829209a4f4e1654676449 /hw
parenttap: Avoid extra iterations while closing file fd (diff)
downloadqemu-16cf0b2b343d0bce1ab69ca14c898b3406234f80.tar.gz
qemu-16cf0b2b343d0bce1ab69ca14c898b3406234f80.tar.xz
qemu-16cf0b2b343d0bce1ab69ca14c898b3406234f80.zip
pcnet: remove duplicate assignment
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/net/pcnet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/net/pcnet.c b/hw/net/pcnet.c
index 7cb47b3f1f..ebe505784d 100644
--- a/hw/net/pcnet.c
+++ b/hw/net/pcnet.c
@@ -718,7 +718,6 @@ static void pcnet_s_reset(PCNetState *s)
s->csr[94] = 0x0000;
s->csr[100] = 0x0200;
s->csr[103] = 0x0105;
- s->csr[103] = 0x0105;
s->csr[112] = 0x0000;
s->csr[114] = 0x0000;
s->csr[122] = 0x0000;