Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4265631pxk; Tue, 29 Sep 2020 20:39:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfNG4MjqdfcUZWfEM0TZEIJ3cjn1U2wC+hJZsyFqVL1J3c0r3hsPV1cyz0Yv5zjksn7Nf6 X-Received: by 2002:a17:906:16da:: with SMTP id t26mr809396ejd.172.1601437169405; Tue, 29 Sep 2020 20:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601437169; cv=none; d=google.com; s=arc-20160816; b=pgbKuAiKaIjasVulrJOz7F3G/Sy4ANi5QGui6kM3nuyljnufvuhaPFd/P2miuOoVZW GCUBx2pAi5cvrre/Rb8uV29JYFn1bRF4koS3Li9+ohWj591YAKEp/5GyrHyrtQprbeHa tyn0ajfqvALRrJcA4JrbeYY3v0HJLgd3tf4cDbWuD5m6MjADFD9doPt9tASho385rWC5 vE9z7Hzcm92VDqreVdMroyMmoBr4fvQKX+HY5PXOB6nlCnWJS0hkJrd6ZRqakFLthQZ+ LpRox+d2lb7bmlj08DrbNZ4+Icj3u5ULfTMzV86E55fS5UYdpq1O4JBCVY9RNlVMHOam Sm9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sdwiHpsg0mtuzYoRYPEdkF1mlWyxeqhFFuNURHlyQZo=; b=bueIwYB2AOz7KP4fmXWWqEAs7lzGEgEn3YtaNRKJY+pFmgnBOkduHhkzpRPcBWcyuy gnK86ndueP0tsuOCHHRkcU+xMO8ud2n4axHtfnXQE5okqbwEp6W4LHkpjRsR75jsfu/K Ee54L9bmRhyMe1yrug63SsgwbCb9zWdspqIIIbjJJNpqI9o5E6lXJ86xWugSypW6vG/x 2Rsw2BAZj0qiMXi5Ixzz4dSlLaXGnxb6SIMWbNMDZ/e8kaTkhb50OBMhFxV2NWHJM0oJ 2xOEU2IRi8p5xpUzcCOvLBfv7h5nEye5UJdCJUklCD8ZCdo0kuvLs1s9mDE4ltNPxm9g KBkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="jm5k0/c3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si439350ejo.472.2020.09.29.20.39.06; Tue, 29 Sep 2020 20:39:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="jm5k0/c3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727887AbgI3DhI (ORCPT + 99 others); Tue, 29 Sep 2020 23:37:08 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:50656 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725320AbgI3DhI (ORCPT ); Tue, 29 Sep 2020 23:37:08 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08U3O6oC146628; Wed, 30 Sep 2020 03:36:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=sdwiHpsg0mtuzYoRYPEdkF1mlWyxeqhFFuNURHlyQZo=; b=jm5k0/c39pJLie3wK9LW52avPCpQubRezMNchTeOFqpc8Z9RiLQ21wFWZleVayQsCKsV EDczJUzMXlcUXri9SegSLaUOm6Twdur7Z+t3yBVwPqGIMHX6J080IbypwD3vhYu5t3de O5BxiuKdewNV1IDcU5tGR6OAOmWzAIa+PNoFmWnI/7MZGFU772hxUXcVjwLEZfyGNU5b 5v9B/jIeAvzn53Jt1Yf00SprsHJ2OHMsApov+0/xWuG5oPcFGznRWHqrwsddpaMRSNOT 2QT0pSpxF1MsTROW8abFSSe2dbsWWbUx2G+YPq5xAxaVBD+LDxI/Rc/whI86xXZudE0+ 4Q== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 33su5axc7v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Sep 2020 03:36:57 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08U3QVGQ064737; Wed, 30 Sep 2020 03:34:57 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 33tfhygkx5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Sep 2020 03:34:57 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08U3YuWG027463; Wed, 30 Sep 2020 03:34:56 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Sep 2020 20:34:56 -0700 From: "Martin K. Petersen" To: Manish Rangankar , GR-QLogic-Storage-Upstream@marvell.com, Nilesh Javali , Qinglang Miao , "James E.J. Bottomley" Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] scsi: bnx2i: remove unnecessary mutex_init() Date: Tue, 29 Sep 2020 23:34:49 -0400 Message-Id: <160143685413.27701.17988094324324512937.b4-ty@oracle.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916062133.191000-1-miaoqinglang@huawei.com> References: <20200916062133.191000-1-miaoqinglang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300023 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 mlxscore=0 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300023 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Sep 2020 14:21:33 +0800, Qinglang Miao wrote: > The mutex bnx2i_dev_lock is initialized statically. It is > unnecessary to initialize by mutex_init(). Applied to 5.10/scsi-queue, thanks! [1/1] scsi: bnx2i: Remove unnecessary mutex_init() https://git.kernel.org/mkp/scsi/c/97d0e04d38b4 -- Martin K. Petersen Oracle Linux Engineering