From patchwork Wed Jul 15 07:08:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6793581 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0F0259F380 for ; Wed, 15 Jul 2015 07:10:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43683204E0 for ; Wed, 15 Jul 2015 07:10:37 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 1E741204EB for ; Wed, 15 Jul 2015 07:10:36 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2F92326585C; Wed, 15 Jul 2015 09:10:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 3CBEF265876; Wed, 15 Jul 2015 09:09:42 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1843E265885; Wed, 15 Jul 2015 09:09:40 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id 59D8E265876 for ; Wed, 15 Jul 2015 09:08:48 +0200 (CEST) Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 15 Jul 2015 16:08:46 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 0385342269; Wed, 15 Jul 2015 16:08:47 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id D34E1480A4; Wed, 15 Jul 2015 16:08:46 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id C70A7480A3; Wed, 15 Jul 2015 16:08:46 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id SAH10915; Wed, 15 Jul 2015 16:08:46 +0900 X-IronPort-AV: E=Sophos;i="5.15,477,1432566000"; d="scan'";a="191575319" Received: from mail-pu1apc01lp0021.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.21]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Jul 2015 16:08:46 +0900 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB0594.apcprd06.prod.outlook.com (10.161.187.145) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 15 Jul 2015 07:08:44 +0000 Message-ID: <877fq1x5m9.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown In-Reply-To: <87d1ztx5pb.wl%kuninori.morimoto.gx@renesas.com> References: <87d1ztx5pb.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 15 Jul 2015 07:08:44 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0012.jpnprd01.prod.outlook.com (25.161.74.150) To HK2PR06MB0594.apcprd06.prod.outlook.com (25.161.187.145) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 2:iWk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6P+v/sZbd/mEzdlmlAl9lroiaD9CV/Oc8p0sXNRGDnwX59dRf; 4:2PLILg4M90JSsrQ1nt4B4DbWYwpumfx0dVKHREeTwlcOxHBWGpKr+R5c3W1N0s76Qp2KvsUZFFiMM2y8yiZ7lwmuSs1F8hJYwtsO8W2XysECXQY7k8H8GF4AXQBcOHMOX/n7SNTfGcFl5l+6Br+kRwrJHFznehF1MulZ+PRUbU2fMIsI8fvjw8GK3LpWiUwxImcxJPAFMDBwzToGJMIWkWKBb1wrus1epuTWHWfak7QM+Ugw6xbeDFi+FZrbWzIS2d+ho2ZFVvaVGwUZJ8reXIsghnssXbbNGtozRxlNhTU= HK2PR06MB0594: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:HK2PR06MB0594; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0594; X-Forefront-PRVS: 0638FD5066 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(19580405001)(5001960100002)(4001350100001)(87976001)(92566002)(19580395003)(53416004)(2950100001)(50466002)(42186005)(86362001)(110136002)(107886002)(83506001)(50986999)(46406003)(76176999)(23726002)(54356999)(46102003)(77096005)(36756003)(62966003)(33646002)(229853001)(47776003)(40100003)(77156002)(189998001)(66066001)(122386002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0594; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 23:lH52J9thmlGsL5dMGVW+El4oddrS/6h2pmD1cgsQ+YUER29R5joWwjizfkvVSbBhHp8N7uaX6ADWB+clP7vbPNtBR34XPEmKkvUuWfOIa6LogLzISq7rfMsgXm7XCC9n9OzLHRRay0SZIVahExbz0VCfXSWyixVeUgrsB7P+mZbBXWGzjsg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7G32NNAy1q46Z1EFyM+14YVgjvFg6Iyq+0prpLZT6GU9JhchWHB1N/FluN6pcX0iEqcYgzIS5sCQZPw0S7QpdL3E7s9+ygZSaZCL8tqUwKnXX4Syvfl7ujyzsRYNS6pZztT8y7NsOpTH3ug= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2015 07:08:44.7092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0594 Cc: Linux-ALSA , shiiba , Liam Girdwood , komatsu , kobayashi , Simon Subject: [alsa-devel] [PATCH 04/35] ASoC: rsnd: remove unnecessary 'out of memory' message from SRC X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Current checkpatch.pl indicates 'out of memory' message is unnecessary. Let's remove it Signed-off-by: Kuninori Morimoto Tested-by: Keita Kobayashi --- sound/soc/sh/rcar/src.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index c61c171..37927ca 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -1047,10 +1047,8 @@ int rsnd_src_probe(struct platform_device *pdev, return 0; src = devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL); - if (!src) { - dev_err(dev, "SRC allocate failed\n"); + if (!src) return -ENOMEM; - } priv->src_nr = nr; priv->src = src;