]> Git Repo - qemu.git/commitdiff
9pfs: remove useless return
authorMichael Tokarev <[email protected]>
Wed, 4 Mar 2015 17:03:41 +0000 (20:03 +0300)
committerMichael Tokarev <[email protected]>
Tue, 10 Mar 2015 05:15:34 +0000 (08:15 +0300)
Signed-off-by: Michael Tokarev <[email protected]>
hw/9pfs/virtio-9p-local.c

index a183eee662b62b514b6d97f3644287ec93ed899f..d05c91779f2c92c914440cb381095462fd03b5a4 100644 (file)
@@ -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);
This page took 0.028477 seconds and 4 git commands to generate.