cifs: remove unused value pointed out by Coverity
authorSteve French <stfrench@microsoft.com>
Wed, 13 Mar 2019 21:48:33 +0000 (16:48 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Mar 2019 00:32:36 +0000 (19:32 -0500)
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>
fs/cifs/connect.c

index b95db2b593cb078639ba71cfdcafe6c9d19c5a4b..a8e9738db691294736105bf8a0cd03772a9a2447 100644 (file)
@@ -1191,10 +1191,6 @@ next_pdu:
                        continue;
                }
 
-               if (server->large_buf)
-                       buf = server->bigbuf;
-
-
                server->lstrp = jiffies;
 
                for (i = 0; i < num_mids; i++) {