]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: remove redundant lines in smc91c111_fix.patch
authorKai Kang <kai.kang@windriver.com>
Mon, 14 Sep 2015 08:22:46 +0000 (16:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Sep 2015 09:45:13 +0000 (10:45 +0100)
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>
meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch

index e69af9447648d684625cfd3fb09ef7e6e31b6540..e37e7773475ca72305a21c705cbc67aafaf192cb 100644 (file)
@@ -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];