From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] gdbstub: Drop redundant memset after qemu_mallocz
Date: Sat, 28 Mar 2009 12:29:30 -0500 [thread overview]
Message-ID: <49CE5E7A.90108@us.ibm.com> (raw)
In-Reply-To: <49BFDBA7.90508@siemens.com>
Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
>
> gdbstub.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/gdbstub.c b/gdbstub.c
> index 1191dc2..935d864 100644
> --- a/gdbstub.c
> +++ b/gdbstub.c
> @@ -2274,8 +2274,6 @@ static void gdb_accept(void)
> 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;
>
>
>
>
prev parent reply other threads:[~2009-03-28 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 17:19 [Qemu-devel] [PATCH] gdbstub: Drop redundant memset after qemu_mallocz Jan Kiszka
2009-03-28 17:29 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49CE5E7A.90108@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).