From patchwork Thu Apr 4 19:44:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10886157 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 5E9BD17E1 for ; Thu, 4 Apr 2019 19:45:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D69228675 for ; Thu, 4 Apr 2019 19:45:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4184328688; Thu, 4 Apr 2019 19:45:04 +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=-7.9 required=2.0 tests=BAYES_00,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 3604C286AC for ; Thu, 4 Apr 2019 19:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730382AbfDDTpC (ORCPT ); Thu, 4 Apr 2019 15:45:02 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44909 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730322AbfDDTpA (ORCPT ); Thu, 4 Apr 2019 15:45:00 -0400 Received: by mail-pf1-f193.google.com with SMTP id y13so1854880pfm.11 for ; Thu, 04 Apr 2019 12:45:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cU3+CuoVdB/q7t7ud1QG91OtHeHGLVZ8QQyKe9bPVAU=; b=DOCuTNZDQaOqAoB4LQA5HCblZP6ObM9DG/BQdwafrq8TktW85RLFrtcwi9MI6xQBna xmOAaeITGtoYOTVkp7R0F7Rs9a31GtCY20jCSrZrFbz4G2LUKO9QDiK6JQcSqOmBghOA XWZC8qpKZD6XfkoS4vUjmnPJxgy1t5olwJwC21tWFFAS7BtReqNzFHdjrI2hVFa9BmvI rqNdQY6HYF2OjYNsLLVMhz59u5n3VX/Ot1DCD6W6LN/adp3LpvYMSdTGYxu1qQwjYnW7 NtFUYpKFlub86RtShCCg+OPhe/4DN93dYnhNZOWku5By3sxZvZliaG+duCv3WbZRRvMv iEzQ== X-Gm-Message-State: APjAAAUWGDMib6WcvKXmavCODSDdmjx4ZQjMJzWZYx43LgAuyyn3mYGO MYRJl0hLwYaEHA7xfxQ3Dm5lrsswDhU= X-Google-Smtp-Source: APXvYqw7VD2Pnmn1XWYbuhu6MyihRBcRIBOFzGEglSXZwu30jNZL0gs1va+/5T70jViHE4PmImcwdQ== X-Received: by 2002:a63:e818:: with SMTP id s24mr7714768pgh.190.1554407100146; Thu, 04 Apr 2019 12:45:00 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id g4sm29404285pfo.38.2019.04.04.12.44.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Apr 2019 12:44:59 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Himanshu Madhani , Giridhar Malavali Subject: [PATCH 03/11] qla2xxx: Remove a comment that refers to the SCSI host lock Date: Thu, 4 Apr 2019 12:44:40 -0700 Message-Id: <20190404194448.121489-4-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190404194448.121489-1-bvanassche@acm.org> References: <20190404194448.121489-1-bvanassche@acm.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since qla2xxx_queuecommand() no longer takes the SCSI host lock, remove a comment that refers to the host lock. Cc: Himanshu Madhani Cc: Giridhar Malavali Signed-off-by: Bart Van Assche Acked-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_os.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 57e1041e4ca2..dddfadc27b75 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -889,9 +889,6 @@ qla2xxx_qpair_sp_compl(void *ptr, int res) qla2xxx_rel_qpair_sp(sp->qpair, sp); } -/* If we are SP1 here, we need to still take and release the host_lock as SP1 - * does not have the changes necessary to avoid taking host->host_lock. - */ static int qla2xxx_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) {