Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geyslan G. Bem and committed by
Eric Van Hensbergen
4d555e3d 2e7babfa

-2
-2
fs/9p/vfs_file.c
··· 461 461 int n; 462 462 loff_t i_size; 463 463 size_t total = 0; 464 - struct p9_client *clnt; 465 464 loff_t origin = *offset; 466 465 unsigned long pg_start, pg_end; 467 466 468 467 p9_debug(P9_DEBUG_VFS, "data %p count %d offset %x\n", 469 468 data, (int)count, (int)*offset); 470 469 471 - clnt = fid->clnt; 472 470 do { 473 471 n = p9_client_write(fid, NULL, data+total, origin+total, count); 474 472 if (n <= 0)