aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2015-03-04 20:03:41 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-10 08:15:34 +0300
commit438940cbc2eabbe9e403e5249dfa0be6c792c93b (patch)
tree0ee51a4ec9a966a780e414f823599aa183865ae7 /hw/9pfs
parent3d0f44189178aab3a21a33ecf6a113b9abaea2bc (diff)
9pfs: remove useless return
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/9pfs')
-rw-r--r--hw/9pfs/virtio-9p-local.c1
1 files changed, 0 insertions, 1 deletions
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);