* [Qemu-devel] [6897] gdbstub: Drop redundant memset after qemu_mallocz (Jan Kiszka)
@ 2009-03-28 17:28 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-03-28 17:28 UTC (permalink / raw)
To: qemu-devel
Revision: 6897
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6897
Author: aliguori
Date: 2009-03-28 17:28:49 +0000 (Sat, 28 Mar 2009)
Log Message:
-----------
gdbstub: Drop redundant memset after qemu_mallocz (Jan Kiszka)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/gdbstub.c
Modified: trunk/gdbstub.c
===================================================================
--- trunk/gdbstub.c 2009-03-28 17:28:45 UTC (rev 6896)
+++ trunk/gdbstub.c 2009-03-28 17:28:49 UTC (rev 6897)
@@ -2216,8 +2216,6 @@
setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char *)&val, sizeof(val));
s = qemu_mallocz(sizeof(GDBState));
-
- memset (s, 0, sizeof (GDBState));
s->c_cpu = first_cpu;
s->g_cpu = first_cpu;
s->fd = fd;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-28 17:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 17:28 [Qemu-devel] [6897] gdbstub: Drop redundant memset after qemu_mallocz (Jan Kiszka) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).