From patchwork Wed Jun 9 14:03:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 456824 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp5346440jae; Wed, 9 Jun 2021 07:04:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKaRG/h1VkS64eIKL772A0pkac78cWP/WYdvSc+ps8+hAWOfXb71/ag2P8F82uWLbJ+ozY X-Received: by 2002:a05:6402:1216:: with SMTP id c22mr30713058edw.36.1623247479531; Wed, 09 Jun 2021 07:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623247479; cv=none; d=google.com; s=arc-20160816; b=MyvjRnjYUqBnUihfq8eWs09zaTf+05rqve/TQyLvLCmzweBYlLDUnS7RLOiGViulGk CxQuGBqumcpHe45GPhnZ6DR2WBEK9IWWPxGhI+d+MD0/vfl3V3d3zaIjYqwZ8Pvtv/OC AondrnMPbZHJJbYb2XVfqIWygUo3f9WGRtwRyC2YC89oRbBTW01j0vcb68z/y6mYRit3 e/8fpd8zjpi+wChDaxHLvFvIKwer2Dai4MhMOM5nFwlFnCo2cT2B7EnqshGYFlxawo4F BWSIz/P4AZ96rU5PMbM1vMD8QpR6s6QUFhq3mVvRK/XsWhJsRs8eLCvK2o2wAG06HQJ4 tjgQ== 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=oSBVm4emlw+DTIbikPSZFjeMI9kkk1GDU5s9h/eDPYA=; b=Zdvr6HaeueHhwEMV9QfbHkJlOs7yC/gSxuhWGncdt3e03CHFUqNC9fgP59i7a2YKBU 3BeZEyE0PkuhAmCe7cfruR4V/lWbo1iUJ+h7Cmp1n+dr3OMLw6OcVLcajbuFhg+lveNE z/vxxXsuldOryde0UXCaZMsE4mReBsHQk1cJvLJ/Hp1Ylf0YDVGKJcQIF3lv/AQpjWZ8 XHBwtdvd/Lvb/ALC89KUUxwxEFnC1mUtjc0s1iqFNnmYLw0Wdo0W46iV0OAhyGvOelEZ cV+8ebdaZuXn7Ck1U0EmtEWJtgvuScMdcNJZhS0pb6EHnFps3oWo7GG7pxRyBbWyd0lT ZqaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 l24si2356725ejz.239.2021.06.09.07.04.39; Wed, 09 Jun 2021 07:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-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-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 S234403AbhFIOFr (ORCPT + 4 others); Wed, 9 Jun 2021 10:05:47 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8118 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232292AbhFIOFq (ORCPT ); Wed, 9 Jun 2021 10:05:46 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G0TKP5JJQzYrk2; Wed, 9 Jun 2021 22:00:57 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 22:03:47 +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; Wed, 9 Jun 2021 22:03:47 +0800 From: Zhen Lei To: Thomas Gleixner , Marc Zyngier , Krzysztof Kozlowski , linux-arm-kernel , linux-samsung-soc , linux-kernel CC: Zhen Lei Subject: [PATCH 1/1] irqchip/exynos-combiner: remove unnecessary oom message Date: Wed, 9 Jun 2021 22:03:35 +0800 Message-ID: <20210609140335.14425-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: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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/irqchip/exynos-combiner.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.26.0.106.g9fadedd Reviewed-by: Krzysztof Kozlowski diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c index 14106126cbf3262..552aa04ff063123 100644 --- a/drivers/irqchip/exynos-combiner.c +++ b/drivers/irqchip/exynos-combiner.c @@ -177,10 +177,8 @@ static void __init combiner_init(void __iomem *combiner_base, nr_irq = max_nr * IRQ_IN_COMBINER; combiner_data = kcalloc(max_nr, sizeof (*combiner_data), GFP_KERNEL); - if (!combiner_data) { - pr_warn("%s: could not allocate combiner data\n", __func__); + if (!combiner_data) return; - } combiner_irq_domain = irq_domain_add_linear(np, nr_irq, &combiner_irq_domain_ops, combiner_data);