9p: remove unused 'p9_client' struct pointer
authorGeyslan G. Bem <geyslan@gmail.com>
Sat, 28 Sep 2013 23:32:14 +0000 (20:32 -0300)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 23 Nov 2013 22:10:30 +0000 (16:10 -0600)
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>
fs/9p/vfs_file.c

index a0df3e73c2b128e01ede3519b1c2aae2d8b09f28..27782bb7f4f9090c7c6330a1c071356b9c4baaf1 100644 (file)
@@ -461,14 +461,12 @@ v9fs_file_write_internal(struct inode *inode, struct p9_fid *fid,
        int n;
        loff_t i_size;
        size_t total = 0;
-       struct p9_client *clnt;
        loff_t origin = *offset;
        unsigned long pg_start, pg_end;
 
        p9_debug(P9_DEBUG_VFS, "data %p count %d offset %x\n",
                 data, (int)count, (int)*offset);
 
-       clnt = fid->clnt;
        do {
                n = p9_client_write(fid, NULL, data+total, origin+total, count);
                if (n <= 0)
This page took 0.027268 seconds and 5 git commands to generate.