diff options
Diffstat (limited to 'buffered_file.c')
-rw-r--r-- | buffered_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/buffered_file.c b/buffered_file.c index be5baea..ec4f664 100644 --- a/buffered_file.c +++ b/buffered_file.c @@ -228,8 +228,6 @@ QEMUFile *qemu_fopen_ops_buffered(void *opaque, QEMUFileBuffered *s; s = qemu_mallocz(sizeof(*s)); - if (s == NULL) - return NULL; s->opaque = opaque; s->xfer_limit = bytes_per_sec / 10; |