summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-aio.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-07-27 09:08:57 +0530
committerAnand Avati <avati@redhat.com>2012-07-29 11:19:08 -0700
commitfa0442e00149b4c8dc6ac21fb0a7742a360c240d (patch)
treed15053427bea1d2d28dc9cc026da34bb0b67c168 /xlators/storage/posix/src/posix-aio.c
parentb4dbbe007da003962361c9a2579d1114f71619cc (diff)
Warnings: Fix set, unused variable warnings
Change-Id: If7ee85aa0d93f9018a76e7f60fcb7dcaf849dbdc BUG: 839950 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3742 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-aio.c')
-rw-r--r--xlators/storage/posix/src/posix-aio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix-aio.c b/xlators/storage/posix/src/posix-aio.c
index ac0ce87..a673c2c 100644
--- a/xlators/storage/posix/src/posix-aio.c
+++ b/xlators/storage/posix/src/posix-aio.c
@@ -49,7 +49,6 @@ posix_aio_readv_complete (struct posix_aio_cb *paiocb, int res, int res2)
call_frame_t *frame = NULL;
xlator_t *this = NULL;
struct iobuf *iobuf = NULL;
- struct iatt prebuf = {0,};
struct iatt postbuf = {0,};
int _fd = -1;
int op_ret = -1;
@@ -65,7 +64,6 @@ posix_aio_readv_complete (struct posix_aio_cb *paiocb, int res, int res2)
this = frame->this;
priv = this->private;
iobuf = paiocb->iobuf;
- prebuf = paiocb->prebuf;
_fd = paiocb->fd;
offset = paiocb->offset;