From patchwork Fri May 9 05:31:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4140161 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E7D14BFF02 for ; Fri, 9 May 2014 05:31:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F18972015D for ; Fri, 9 May 2014 05:31:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CB4D20253 for ; Fri, 9 May 2014 05:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753298AbaEIFbd (ORCPT ); Fri, 9 May 2014 01:31:33 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49111 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbaEIFbb (ORCPT ); Fri, 9 May 2014 01:31:31 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5A009UMKODQG40@mailout3.samsung.com> for linux-pci@vger.kernel.org; Fri, 09 May 2014 14:31:25 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 8D.1F.14563.D286C635; Fri, 09 May 2014 14:31:25 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-95-536c682d8cf9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 24.3A.25708.D286C635; Fri, 09 May 2014 14:31:25 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5A008ANKODQNG0@mmp2.samsung.com>; Fri, 09 May 2014 14:31:25 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Jingoo Han' Subject: [PATCH] PCI: exynos: Remove unnecessary OOM messages Date: Fri, 09 May 2014 14:31:25 +0900 Message-id: <000301cf6b47$eb8de9f0$c2a9bdd0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9rR+tVtFuQYA2gQLaZ6fpAP1JlEA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsVy+t8zA13djJxgg72rzC2WNGVYXF54idXi 7LzjbA7MHgs2lXr0bVnF6PF5k1wAcxSXTUpqTmZZapG+XQJXxpRp+9gLZrJVPPqxm6WBcQJr FyMHh4SAicTxN35djJxAppjEhXvr2UBsIYFljBIb91pDxE0k1mzbAVTOBRSfziixd8N6Rgjn N6PEtq2XwDrYBNQkvnw5zA5iiwhoSsxesYUJxGYWcJRYt/IlK4gtLGArcXLHe0YQm0VAVWLj 5YtgNi9QfPWKJmYIW1Dix+R7LBC9WhLrdx6HmiMvsXnNW2aIo9UlHv3VhVilJ/Fp8T1GiBIR iX0v3jFCHL2IXeLo2kCIVQIS3yYfYoFolZXYdIAZokRS4uCKGywTGMVmIVk8C8niWUgWz0Ky YQEjyypG0dSC5ILipPQiI73ixNzi0rx0veT83E2MkEjq28F484D1IcZkoPUTmaVEk/OBkZhX Em9obGZkYWpiamxkbmlGmrCSOO+ih0lBQgLpiSWp2ampBalF8UWlOanFhxiZODilGhh1s83K ew982aLXPTMqaV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ter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han --- drivers/pci/host/pci-exynos.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c index 3de6bfb..81aa700 100644 --- a/drivers/pci/host/pci-exynos.c +++ b/drivers/pci/host/pci-exynos.c @@ -568,10 +568,8 @@ static int __init exynos_pcie_probe(struct platform_device *pdev) exynos_pcie = devm_kzalloc(&pdev->dev, sizeof(*exynos_pcie), GFP_KERNEL); - if (!exynos_pcie) { - dev_err(&pdev->dev, "no memory for exynos pcie\n"); + if (!exynos_pcie) return -ENOMEM; - } pp = &exynos_pcie->pp;