From: Michael Tokarev Date: Wed, 4 Mar 2015 17:03:41 +0000 (+0300) Subject: 9pfs: remove useless return X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=438940cbc2eabbe9e403e5249dfa0be6c792c93b;p=qemu.git 9pfs: remove useless return Signed-off-by: Michael Tokarev --- diff --git a/hw/9pfs/virtio-9p-local.c b/hw/9pfs/virtio-9p-local.c index a183eee662..d05c91779f 100644 --- a/hw/9pfs/virtio-9p-local.c +++ b/hw/9pfs/virtio-9p-local.c @@ -332,7 +332,6 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path, tsize = read(fd, (void *)buf, bufsz); } while (tsize == -1 && errno == EINTR); close(fd); - return tsize; } else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) || (fs_ctx->export_flags & V9FS_SM_NONE)) { buffer = rpath(fs_ctx, path);