Skip to content

Commit

Permalink
cifs: remove unused value pointed out by Coverity
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steve French committed Mar 15, 2019
1 parent 31ba433 commit d44d137
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,10 +1191,6 @@ cifs_demultiplex_thread(void *p)
continue;
}

if (server->large_buf)
buf = server->bigbuf;


server->lstrp = jiffies;

for (i = 0; i < num_mids; i++) {
Expand Down

0 comments on commit d44d137

Please sign in to comment.