summaryrefslogtreecommitdiff
path: root/net/9p/client.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-07-24 12:29:10 -0700
committerDominique Martinet <dominique.martinet@cea.fr>2018-08-13 09:34:58 +0900
commitc69f297d7f0b46187919d5c2aa36183688ecf3d4 (patch)
treec51979030970ebbd573bd9bb3ad034fd0b2a6805 /net/9p/client.c
parent10aa14527f458e9867cf3d2cc6b8cb0f6704448b (diff)
9p: fix whitespace issues
Remove trailing whitespace and blank lines at EOF Link: http://lkml.kernel.org/m/20180724192918.31165-11-sthemmin@microsoft.com Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'net/9p/client.c')
-rw-r--r--net/9p/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index 20088aa06343..deae53a7dffc 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -333,7 +333,7 @@ struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag)
* buffer to read the data into */
tag++;
- if(tag >= c->max_tag)
+ if (tag >= c->max_tag)
return NULL;
row = tag / P9_ROW_MAXTAG;
@@ -1558,7 +1558,7 @@ p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err)
int count = iov_iter_count(to);
int rsize, non_zc = 0;
char *dataptr;
-
+
rsize = fid->iounit;
if (!rsize || rsize > clnt->msize-P9_IOHDRSZ)
rsize = clnt->msize - P9_IOHDRSZ;