diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-09-14 16:22:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-14 20:46:39 +0100 |
commit | 1d0b9228364e7970ec05ec2b9692c56f4835ac22 (patch) | |
tree | 8e052d8f9a2638ecd8e3893ce475293d860ad5e1 /meta | |
parent | 39b661eb0baab17f733df854b05047aedf3f726b (diff) | |
download | poky-1d0b9228364e7970ec05ec2b9692c56f4835ac22.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.
(From OE-Core rev: 18f9e0393b27a57030a4dbee924e7946b902927b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch | 5 |
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 | |||
63 | return 0; | 63 | return 0; |
64 | return 1; | 64 | return 1; |
65 | } | 65 | } |
66 | @@ -671,9 +671,11 @@ static ssize_t smc91c111_receive(NetClie | 66 | @@ -671,6 +671,8 @@ static ssize_t smc91c111_receive(NetClie |
67 | /* TODO: Flag overrun and receive errors. */ | 67 | /* TODO: Flag overrun and receive errors. */ |
68 | if (packetsize > 2048) | 68 | if (packetsize > 2048) |
69 | return -1; | 69 | return -1; |
@@ -72,6 +72,3 @@ Index: qemu-2.4.0/hw/net/smc91c111.c | |||
72 | packetnum = smc91c111_allocate_packet(s); | 72 | packetnum = smc91c111_allocate_packet(s); |
73 | if (packetnum == 0x80) | 73 | if (packetnum == 0x80) |
74 | return -1; | 74 | return -1; |
75 | s->rx_fifo[s->rx_fifo_len++] = packetnum; | ||
76 | |||
77 | p = &s->data[packetnum][0]; | ||