aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-03-13 16:48:33 -0500
committerSteve French <stfrench@microsoft.com>2019-03-14 19:32:36 -0500
commitd44d13723b0994bc61e0f2d3efeb17856128673b (patch)
tree5994b667f9414aa8f5aebf8c6310abd17b8c9ee2 /fs/cifs/connect.c
parentSMB3: passthru query info doesn't check for SMB3 FSCTL passthru (diff)
downloadlinux-dev-d44d13723b0994bc61e0f2d3efeb17856128673b.tar.xz
linux-dev-d44d13723b0994bc61e0f2d3efeb17856128673b.zip
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>
Diffstat (limited to 'fs/cifs/connect.c')
-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++) {