aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-09-14 16:22:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-14 10:45:13 +0100
commit18f9e0393b27a57030a4dbee924e7946b902927b (patch)
treec407801a8c065bb45531d9ddc6e5df738cb210e1
parenta4f5e826689a6ab85e9d7424aa32602760d386bf (diff)
downloadopenembedded-core-contrib-18f9e0393b27a57030a4dbee924e7946b902927b.tar.gz
qemu: remove redundant lines in smc91c111_fix.patch
Remove redundant lines in smc91c111_fix.patch which caused command patch of lower version fails to work. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch b/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
index e69af94476..e37e777347 100644
--- a/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
+++ b/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
@@ -63,7 +63,7 @@ Index: qemu-2.4.0/hw/net/smc91c111.c
return 0;
return 1;
}
-@@ -671,9 +671,11 @@ static ssize_t smc91c111_receive(NetClie
+@@ -671,6 +671,8 @@ static ssize_t smc91c111_receive(NetClie
/* TODO: Flag overrun and receive errors. */
if (packetsize > 2048)
return -1;
@@ -72,6 +72,3 @@ Index: qemu-2.4.0/hw/net/smc91c111.c
packetnum = smc91c111_allocate_packet(s);
if (packetnum == 0x80)
return -1;
- s->rx_fifo[s->rx_fifo_len++] = packetnum;
-
- p = &s->data[packetnum][0];