From patchwork Thu Jun 10 07:48:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 457814 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp157341jae; Thu, 10 Jun 2021 00:48:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylrdxP6myZ8kvYjdKKNpVNCEhDQ0uOlJS6/zVnWREtCY9o7wQP7l2uzPdvy2GJ+suDdO/A X-Received: by 2002:a17:906:d93:: with SMTP id m19mr3217184eji.177.1623311303804; Thu, 10 Jun 2021 00:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623311303; cv=none; d=google.com; s=arc-20160816; b=yFf5qkWA1RpxKfN+l+9Wi0MmVSE1s/u45sBM3EVo8sbsadoEgA3SRNpx+VrKUGLfw+ JLIImnQ2qyFylwwwD++bxOEiLWDLjH3S/66t8PYkFnExSBIOrnqbITNl7+3rPBfw9Q4o O+dLg8f2P2rARLsHZwx15IpiEmUYXPwgivXQif2dsXarovIdFF2CUP/37OU6nB+3Odae afkfR2wICwzNjiN2RiBMZsI6AiFNAWuDEZ+q4E7g48yPFsDBV8UkQSx/Kw+bslHQu+ta vOzPuZLNTbsByI2s76tYHvWGJTpVn260WEVblgjB53T6v+VTRN5G9/iFi1ug1djbl7Mh ndeg== 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 :message-id:date:subject:cc:to:from; bh=b2iOjpa3wbKBysv1SbfCaTIkTxfp0hTUwmtaiz+WBdo=; b=Qq9XEgDbfantrqmI+rb7eSD+VBsI+qo7OBJgx5/u4hWD0UMQ3sWW7Ma407J92ZJutn 9mvtE5hOFfx7zsMZrHycAbK13Krlvf7UBSlYn4nyT7dkU7wPQYHCoCqUYiPlQ/9o8EPt W/F3IMJUdWUJMGc8GCbXfyn1I26OhX7fidXs/qZM42IjfFPlnRAM3AHZQRmppTIFXkkv /N7iIIWBb0s2ar2jJ2FEYhkPJmldPkABB/xC684NGBV7khoQkvgWAvjlAj4Lx176yw2M Ygq3QF8ElWA69UqIeq5C5EMwNSzv17tIiKVI35PZAGtQUA5bdpveEq6qinO7zVICfe5v UmyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si1849373edw.369.2021.06.10.00.48.23 for ; Thu, 10 Jun 2021 00:48:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbhFJHuS (ORCPT ); Thu, 10 Jun 2021 03:50:18 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3936 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbhFJHuS (ORCPT ); Thu, 10 Jun 2021 03:50:18 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G0wxS3HbMz6xCG; Thu, 10 Jun 2021 15:45:16 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 15:48:21 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 15:48:20 +0800 From: Zhen Lei To: Nilesh Javali , Manish Rangankar , GR-QLogic-Storage-Upstream , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi CC: Zhen Lei Subject: [PATCH 1/1] scsi: bnx2i: remove unnecessary oom message Date: Thu, 10 Jun 2021 15:48:15 +0800 Message-ID: <20210610074815.15712-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Signed-off-by: Zhen Lei --- drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 -- 1 file changed, 2 deletions(-) -- 2.26.0.106.g9fadedd diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 1b5f3e143f0710b..a66ca1ebba15f01 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -529,7 +529,6 @@ static int bnx2i_setup_mp_bdt(struct bnx2i_hba *hba) hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, &hba->mp_bd_dma, GFP_KERNEL); if (!hba->mp_bd_tbl) { - printk(KERN_ERR "unable to allocate Middle Path BDT\n"); rc = -1; goto out; } @@ -538,7 +537,6 @@ static int bnx2i_setup_mp_bdt(struct bnx2i_hba *hba) CNIC_PAGE_SIZE, &hba->dummy_buf_dma, GFP_KERNEL); if (!hba->dummy_buffer) { - printk(KERN_ERR "unable to alloc Middle Path Dummy Buffer\n"); dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, hba->mp_bd_tbl, hba->mp_bd_dma); hba->mp_bd_tbl = NULL;