aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorGeyslan G. Bem <geyslan@gmail.com>2013-09-28 19:32:14 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2013-11-23 17:10:30 -0500
commit4d555e3de4624e6c211c4e1e46aa52f7632a149c (patch)
tree1018653fcf45e014cf4bc5c27729946e7dbec953 /fs/9p
parent2e7babfa892a55588467ef03b545002e32f31528 (diff)
9p: remove unused 'p9_client' struct pointer
Get rid of the useless '*clnt' variable. Signed-off-by: Geyslan G. Bem <geyslan@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index a0df3e73c2b1..27782bb7f4f9 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -461,14 +461,12 @@ v9fs_file_write_internal(struct inode *inode, struct p9_fid *fid,
461 int n; 461 int n;
462 loff_t i_size; 462 loff_t i_size;
463 size_t total = 0; 463 size_t total = 0;
464 struct p9_client *clnt;
465 loff_t origin = *offset; 464 loff_t origin = *offset;
466 unsigned long pg_start, pg_end; 465 unsigned long pg_start, pg_end;
467 466
468 p9_debug(P9_DEBUG_VFS, "data %p count %d offset %x\n", 467 p9_debug(P9_DEBUG_VFS, "data %p count %d offset %x\n",
469 data, (int)count, (int)*offset); 468 data, (int)count, (int)*offset);
470 469
471 clnt = fid->clnt;
472 do { 470 do {
473 n = p9_client_write(fid, NULL, data+total, origin+total, count); 471 n = p9_client_write(fid, NULL, data+total, origin+total, count);
474 if (n <= 0) 472 if (n <= 0)