From patchwork Wed Jun 15 04:21:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: malahal@us.ibm.com X-Patchwork-Id: 100476 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 70931B6F62 for ; Wed, 15 Jun 2011 14:26:04 +1000 (EST) Received: from localhost ([::1]:44488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWhg0-0007ql-7R for incoming@patchwork.ozlabs.org; Wed, 15 Jun 2011 00:26:00 -0400 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 Received: from malahal (malahal.beaverton.ibm.com [9.47.25.235]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p5F4MJgL002960; Tue, 14 Jun 2011 22:22:19 -0600 Received: by malahal (Postfix, from userid 155450) id 7EFD1C7ADD; Tue, 14 Jun 2011 21:22:14 -0700 (PDT) From: Malahal Naineni To: qemu-devel@nongnu.org Date: Tue, 14 Jun 2011 21:21:45 -0700 Message-Id: <1308111705-32631-1-git-send-email-malahal@us.ibm.com> X-Mailer: git-send-email 1.7.0.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 32.97.110.154 Cc: Malahal Naineni Subject: [Qemu-devel] [PATCH] [virtio-9p] Fix couple functions doing "return on void functions" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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,