From patchwork Wed Mar 13 21:53:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 10851883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29A9F139A for ; Wed, 13 Mar 2019 21:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 044832A03F for ; Wed, 13 Mar 2019 21:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02B622A078; Wed, 13 Mar 2019 21:53:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9784A2A03F for ; Wed, 13 Mar 2019 21:53:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726556AbfCMVxh (ORCPT ); Wed, 13 Mar 2019 17:53:37 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:45097 "EHLO mail-pg1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfCMVxh (ORCPT ); Wed, 13 Mar 2019 17:53:37 -0400 Received: by mail-pg1-f171.google.com with SMTP id 125so2440928pgc.12; Wed, 13 Mar 2019 14:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6eCsmeoAoFlU+udQMKiADuIbR+nVv1uwRiLFljK6kSQ=; b=rf/+WRrDGTv5SacBVVcd8F/3eaR0OTCDcwHl2sLDE81Jcu7/Sof/EToCQFg9l0kBHQ giTqymVeFLqIVChlFpiyNVSk01W/OJyWOFbNpqiMF6UdOF7CpS97HEbcoVxgFvrHkI3A qExWDbLY0x38C30P936ez3PWDnfbSHoMoG9wvNAK8wFjqyQ3ubUS6Ad3XtNt9Ezd55N6 fsdf+ImVWIeaKxB8QmXgnMPlh+htUxxw2lry8yn1aZ0NTi8x14Km9bhgMfER562l2uMU YysLwCGO8dtGBcOrjpuKFyUTrcxp0OczFi1yOuEz4jWWFLtucD6iczh/u8MXhG7whvpv UW2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6eCsmeoAoFlU+udQMKiADuIbR+nVv1uwRiLFljK6kSQ=; b=GoiYaoyyq6wA5fmdQ6WfzUpKwX8RDpZnPNmhGtwa3OxRTz1Yp48gWdzD3FbB0zu3kk d/RMqOHeue3qLVZTFjp2LL1YU6bPeefVhCGQlftZEu9kdHEvziJQLNOzmisQY5U39Ibp R/aTse6V+xGO1uBTobWnVrlh1yQsYYT6yd14kIPTjWOYQVelhln+TOBKTNLEAb6BDU1Q TnaIywPkTdAQd8NHOe0AXEbNZ2hZvDXd+YTBtGaE1y2tkUvS24MRZ42GwAdFdqYXzsln xBbacxp1LqSyP/Z7DN4NjoPD+oFRPt1xo26//C9NAgHJMw0CX8c5ieoTYH9oeiBTeQNB yUpA== X-Gm-Message-State: APjAAAVbND8hMeulKxJZtVTebLSRm8fvu5OkZ8/6JX1MtdWaBl6PmSW9 0TAKAzAkYfsLApfwkyEybcotkmKsqFc3fpAkQ48fjxRr X-Google-Smtp-Source: APXvYqyh9Bj35JCpeAhccUx6peGH1wax+N+fvUHrvvY+GBvZ0Do/9EKYFBKzXlHChCLZdSTF41irBnoU7ONc/s+VYyU= X-Received: by 2002:a63:2c50:: with SMTP id s77mr25188055pgs.440.1552514015827; Wed, 13 Mar 2019 14:53:35 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Wed, 13 Mar 2019 16:53:24 -0500 Message-ID: Subject: [PATCH] [CIFS] Remove unneeded statements pointed out by Coverity To: CIFS , LKML Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- fs/cifs/connect.c | 4 ---- 1 file changed, 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 @@ cifs_demultiplex_thread(void *p) continue; } - if (server->large_buf) - buf = server->bigbuf; - - server->lstrp = jiffies; for (i = 0; i < num_mids; i++) {