OSDN Git Service

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 b95db2b..a8e9738 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++) {