From 438940cbc2eabbe9e403e5249dfa0be6c792c93b Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Wed, 4 Mar 2015 20:03:41 +0300 Subject: [PATCH] 9pfs: remove useless return Signed-off-by: Michael Tokarev --- hw/9pfs/virtio-9p-local.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2