9pfs: remove useless return
PATCH 1/1 9pfs: remove useless return
Signed-off-by Michael Tokarev <[email protected]>
--- hw/9pfs/virtio-9p-local.c | 1 - 1 file changed, 1 deletion(-)
hw/9pfs/virtio-9p-local.c +0 -1
@@ -328,15 +328,14 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,if (fd ==-1 ) {return -1 ; }do { 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); tsize =readlink (buffer, buf, bufsz);g_free (buffer); }return tsize;
Signature · 1 line
2.1.4