aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-03-13 17:48:33 -0400
committerSteve French <stfrench@microsoft.com>2019-03-14 20:32:36 -0400
commitd44d13723b0994bc61e0f2d3efeb17856128673b (patch)
tree5994b667f9414aa8f5aebf8c6310abd17b8c9ee2
parent31ba4331d571f501fb32ae072478787e77baf52a (diff)
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:
1191 continue; 1191 continue;
1192 } 1192 }
1193 1193
1194 if (server->large_buf)
1195 buf = server->bigbuf;
1196
1197
1198 server->lstrp = jiffies; 1194 server->lstrp = jiffies;
1199 1195
1200 for (i = 0; i < num_mids; i++) { 1196 for (i = 0; i < num_mids; i++) {