Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbaBGICt (ORCPT ); Fri, 7 Feb 2014 03:02:49 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:15091 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751806AbaBGICr (ORCPT ); Fri, 7 Feb 2014 03:02:47 -0500 X-AuditID: cbfee68d-b7fcd6d00000315b-ac-52f4932612aa From: Jingoo Han To: "'Andrew Morton'" Cc: linux-kernel@vger.kernel.org, "'Alessandro Zummo'" , rtc-linux@googlegroups.com, "'Jingoo Han'" , "'Kevin Hilman'" References: <000901cf23da$a04cbca0$e0e635e0$%han@samsung.com> In-reply-to: <000901cf23da$a04cbca0$e0e635e0$%han@samsung.com> Subject: [PATCH 02/10] rtc: rtc-davinci: Remove unnecessary OOM messages Date: Fri, 07 Feb 2014 17:02:45 +0900 Message-id: <000b01cf23da$fc466bf0$f4d343d0$%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: Ac8j2qAzLOfgRWJTRVWYElXe2alJBAAAEOYA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsVy+t8zQ121yV+CDKau5rRYcvEqu8Wc9WvY LC4vvMRq8fXwCkaLy7vmsFns7+xgdGDz2DPxJJvHnWt72DxOzPjN4tG3ZRWjx/R5P5k8Pm+S C2CL4rJJSc3JLEst0rdL4Mp4dOUsY8EltopXa64zNjDuZ+1i5OCQEDCROHhCoYuRE8gUk7hw bz1bFyMXh5DAMkaJ/nkLWCASJhITDzRBJRYxSqxY2MME4fxilHiw9hwbSBWbgJrEly+H2UGm igjoS7S1aIDUMAtsYZS49HEZO0iNkICtxK/PS1hBbE4BO4lFJ86C2cICHhJnpvUwgtgsAqoS d1/MA9vMC1S/edtDJghbUOLH5HtgcWYBLYn1O48zQdj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VYHGIUYCDUYmH98TSz0FCrIllxZW5hxglOJiVRHh/NnwJEuJNSays Si3Kjy8qzUktPsSYDPToRGYp0eR8YOLKK4k3NDYxM7I0MrMwMjE3J01YSZz3YKt1oJBAemJJ anZqakFqEcwWJg5OqQbGHiFZPd7FFvcZJxgyb53KuKbunaaBl9ba1Ezd6REpbFqWGV03Nyqs /1kd/sZg+aPoQl/pM+flbmj9+6sdcadk/at3ETP4jS1eM/TXWEy8MvP28x1LH2uyhe36LB5o cYrnfu52sec2R5SMn3L+bq6dcdbCMool0/ylS9keJpPSis2X7XiPmAUosRRnJBpqMRcVJwIA Vi3hTVIDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-davinci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c index d3e70f3..c0a3b59 100644 --- a/drivers/rtc/rtc-davinci.c +++ b/drivers/rtc/rtc-davinci.c @@ -484,10 +484,8 @@ static int __init davinci_rtc_probe(struct platform_device *pdev) int ret = 0; davinci_rtc = devm_kzalloc(&pdev->dev, sizeof(struct davinci_rtc), GFP_KERNEL); - if (!davinci_rtc) { - dev_dbg(dev, "could not allocate memory for private data\n"); + if (!davinci_rtc) return -ENOMEM; - } davinci_rtc->irq = platform_get_irq(pdev, 0); if (davinci_rtc->irq < 0) { -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/