[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] [virtio-9p] Fix couple functions doing "return on v
From: |
Malahal Naineni |
Subject: |
[Qemu-devel] [PATCH] [virtio-9p] Fix couple functions doing "return on void functions" |
Date: |
Tue, 14 Jun 2011 21:21:45 -0700 |
Signed-off-by: Malahal Naineni <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] [virtio-9p] Fix couple functions doing "return on void functions",
Malahal Naineni <=