summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-03-14 00:48:33 +0300
committerSteve French <stfrench@microsoft.com>2019-03-15 03:32:36 +0300
commitd44d13723b0994bc61e0f2d3efeb17856128673b (patch)
tree5994b667f9414aa8f5aebf8c6310abd17b8c9ee2
parent31ba4331d571f501fb32ae072478787e77baf52a (diff)
downloadlinux-d44d13723b0994bc61e0f2d3efeb17856128673b.tar.xz
cifs: remove unused value pointed out by Coverity
Detected by CoverityScan CID#1438719 ("Unused Value") buf is reset again before being used so these two lines of code are useless. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
-rw-r--r--fs/cifs/connect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index b95db2b593cb..a8e9738db691 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1191,10 +1191,6 @@ next_pdu:
continue;
}
- if (server->large_buf)
- buf = server->bigbuf;
-
-
server->lstrp = jiffies;
for (i = 0; i < num_mids; i++) {