Received: from eggs.gnu.org ([140.186.70.92]:48599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWhd3-0007pc-Tq for qemu-devel@nongnu.org; Wed, 15 Jun 2011 00:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWhd2-0004Zb-IB for qemu-devel@nongnu.org; Wed, 15 Jun 2011 00:22:57 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:41058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWhd2-0004XQ-01 for qemu-devel@nongnu.org; Wed, 15 Jun 2011 00:22:56 -0400 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e36.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p5F4GV24015410 for ; Tue, 14 Jun 2011 22:16:31 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5F4MJCX350474 for ; Tue, 14 Jun 2011 22:22:23 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5F4MJAE003135 for ; Tue, 14 Jun 2011 22:22:19 -0600 From: Malahal Naineni Date: Tue, 14 Jun 2011 21:21:45 -0700 Message-Id: <1308111705-32631-1-git-send-email-malahal@us.ibm.com> Subject: [Qemu-devel] [PATCH] [virtio-9p] Fix couple functions doing "return on void functions" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Malahal Naineni Signed-off-by: Malahal Naineni --- hw/9pfs/virtio-9p-local.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/9pfs/virtio-9p-local.c b/hw/9pfs/virtio-9p-local.c index 1b6c323..b6643fc 100644 --- a/hw/9pfs/virtio-9p-local.c +++ b/hw/9pfs/virtio-9p-local.c @@ -166,7 +166,7 @@ static DIR *local_opendir(FsContext *ctx, V9fsPath *fs_path) static void local_rewinddir(FsContext *ctx, DIR *dir) { - return rewinddir(dir); + rewinddir(dir); } static off_t local_telldir(FsContext *ctx, DIR *dir) @@ -182,7 +182,7 @@ static int local_readdir_r(FsContext *ctx, DIR *dir, struct dirent *entry, static void local_seekdir(FsContext *ctx, DIR *dir, off_t off) { - return seekdir(dir, off); + seekdir(dir, off); } static ssize_t local_preadv(FsContext *ctx, int fd, const struct iovec *iov, -- 1.7.0.4