提交 4d555e3d 编写于 作者: G Geyslan G. Bem 提交者: Eric Van Hensbergen

9p: remove unused 'p9_client' struct pointer

Get rid of the useless '*clnt' variable.
Signed-off-by: NGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
上级 2e7babfa
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部