projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)
[qemu]
/
migration-tcp.c
diff --git
a/migration-tcp.c
b/migration-tcp.c
index
6fc1943
..
3f5b104
100644
(file)
--- a/
migration-tcp.c
+++ b/
migration-tcp.c
@@
-89,8
+89,6
@@
MigrationState *tcp_start_outgoing_migration(const char *host_port,
return NULL;
s = qemu_mallocz(sizeof(*s));
- if (s == NULL)
- return NULL;
s->get_error = socket_errno;
s->write = socket_write;