Received: by 10.213.65.68 with SMTP id h4csp2178887imn; Mon, 2 Apr 2018 02:39:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx49QlcJXcyZut44raf9sLjOsVlxxFnRKoqRKxlDSO02zlxQ6DrHTGCLBBNRrO7Ahy2gIArEy X-Received: by 10.98.16.142 with SMTP id 14mr3280878pfq.22.1522661963613; Mon, 02 Apr 2018 02:39:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522661963; cv=none; d=google.com; s=arc-20160816; b=grgJreElppEguZ5u6KaaMsJS8IErk9rsvL6uApY8SUBp4AGqWpUVJOvTdWRAjw1EKp eF1H4d7nTsuZ+HW8FVqit060ztImolTS87hIhw8b2b+UKyJaoXNu2LoUtBGbgtS60BQZ Y78YqbWlDEDzA095zfijchrqbW7gzozvoY7WW4Yk/Vcpqc///gsSQp56/0KRMoefFlNv p65JZFfJRGBfdjXxM69W07TVoVelCZHktBRXtOZL3FPTHMwR81tsx+ZlIWhKqUvqHk5Q jJoO0OkVdYrGqU/tJey8eNsaFYxNAVBmylJMIG3waF0+zBjVPQzZJMujbfg/TZe316wB Eaaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=H2Tsih+GumCO+aPw57yBkO4tSLafF52EgXLeaaPWZ2A=; b=mAz5PI/8amuzrCEZZHYl7iGTZm7Kw8Qkwd275ooGu16RqXOTTo7rA79DMp2ALkI4xs k/F73Wi2V/+6sr5+Yf1bfMPZiDH1YJ1aXMbVshg1YlWipToaKBWxV9BeS6ka2VoB/UAQ ZxfKCRV2OU4AD6cnx7wd3KvNJHPiMMLvVBizPP23FYSy+w5tTfSXsS36g/KyMtZ73GTI 8P/WpWyoMwnpHLZ7CwfRH0ZKVHkT68UZVkygDdt0WwNXfYXxNImVMcRXo1jWYFVKU6hT QDBlRBaokypPU3mrXJ0vxj0bWFWehjgNEdIgJunvIFZ28KyLq7cZo3OxRyqnylAmUIKp F6sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b65si10738137pfk.265.2018.04.02.02.39.07; Mon, 02 Apr 2018 02:39:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754232AbeDBJh7 (ORCPT + 99 others); Mon, 2 Apr 2018 05:37:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:40405 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751AbeDBJh5 (ORCPT ); Mon, 2 Apr 2018 05:37:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4F03CAEEF; Mon, 2 Apr 2018 09:37:56 +0000 (UTC) From: Johannes Thumshirn To: "Martin K . Petersen" Cc: Linux Kernel Mailinglist , Linux SCSI Mailinglist , Johannes Thumshirn Subject: [PATCH] scsi: hosts: remove redundant assingment of shost->use_blk_mq Date: Mon, 2 Apr 2018 11:37:49 +0200 Message-Id: <20180402093749.6862-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Coverity reports that we're assigning shost->use_blk_mq twice. This looks like the result of a bad merge of commit 2f31115e940c ("scsi: core: introduce force_blk_mq") Signed-off-by: Johannes Thumshirn --- drivers/scsi/hosts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index ef22b275d050..c36f2a44e5ed 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -473,7 +473,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) else shost->dma_boundary = 0xffffffff; - shost->use_blk_mq = scsi_use_blk_mq; shost->use_blk_mq = scsi_use_blk_mq || shost->hostt->force_blk_mq; device_initialize(&shost->shost_gendev); -- 2.16.2