From patchwork Wed Jul 15 07:09:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6793601 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 6B4139F380 for ; Wed, 15 Jul 2015 07:11:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C86E20573 for ; Wed, 15 Jul 2015 07:11:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 3B4C320519 for ; Wed, 15 Jul 2015 07:11:28 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6AD712658B3; Wed, 15 Jul 2015 09:11:27 +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 3C56A2658CD; Wed, 15 Jul 2015 09:10:14 +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 BA7F82658CE; Wed, 15 Jul 2015 09:10:12 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id A1ADA2657DF for ; Wed, 15 Jul 2015 09:09:12 +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:09:11 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 45462422A9; Wed, 15 Jul 2015 16:09:11 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 41AFE1806F; Wed, 15 Jul 2015 16:09:11 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 378C11800A; Wed, 15 Jul 2015 16:09:11 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id SAF30542; Wed, 15 Jul 2015 16:09:11 +0900 X-IronPort-AV: E=Sophos;i="5.15,477,1432566000"; d="scan'";a="190394227" Received: from mail-pu1apc01lp0015.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.15]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Jul 2015 16:09:10 +0900 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.144) by SIXPR06MB0605.apcprd06.prod.outlook.com (10.160.237.147) with Microsoft SMTP Server (TLS) id 15.1.219.17; Wed, 15 Jul 2015 07:09:07 +0000 Message-ID: <87615lx5lr.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:09:07 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0013.jpnprd01.prod.outlook.com (25.161.24.23) To SIXPR06MB0605.apcprd06.prod.outlook.com (25.160.237.147) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0605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ase4IJu1EL9MpaQh5anu0v77V; 4:TIWtIe3yKJe4BAN+EDFbm0njenPANZAWhDJph92fH2uY2YObf6BJRWTiNxMQ6quQFdJIDtwyoR87ofrUcWvH8tPGfD+mos5OHaM7hUI2Np+aKzLnRg11AsLlU7zfAC2Bb2A3lbADjc3Nc56Iqlkf4NXK9wKXEwhNf54dvCOFgE6kxn82bbV7H7szpCMPgJRW72qQ/LIJZKb8FjowFFcy7XmasWDCkAoJpehBrJxGqXognzjfm9bnQc6XhuA1o/HODrd8eRzO19SDewnSIdwWU7Dt1lDJuVq+VnsOki8onv0= SIXPR06MB0605: 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:SIXPR06MB0605; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0605; X-Forefront-PRVS: 0638FD5066 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(62966003)(229853001)(46102003)(40100003)(92566002)(122386002)(87976001)(23726002)(86362001)(575784001)(77156002)(83506001)(46406003)(66066001)(5001960100002)(189998001)(107886002)(110136002)(47776003)(76176999)(54356999)(19580395003)(19580405001)(50986999)(2950100001)(33646002)(42186005)(4001350100001)(53416004)(50466002)(36756003)(77096005)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0605; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0605; 23:pRIMH/8ZCk8V7GGGg7VaIlr5SD395aqm2zT399AV5RBsI5kLtEnoPr/n4vyLW966VJD1wOo1x8X26Qcufs7yGefucRm+yujhFLZmiLTkA7YX3RTw/b3cJYxWqrfZg9jWvTVW4p3wgAN6LglAZA54J8oMlxgHfiX38tUV+r3twfXsSmtUx94MPlkHoIdA7v1QPNcK4jO0HlTbTmlmx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6+2rw5xtuGBA9SN9WOVERgLqmDVNddq9oPSnbbgQmgyuVxGfPEDwKFWUE2KPzNZJf+Yxc5FMiFA6umqt/ck0dGi13S1HtGN2LDbSveWwSts/ISKO0VDptycGJYd/ppSSYlE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2015 07:09:07.3421 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0605 Cc: Linux-ALSA , shiiba , Liam Girdwood , komatsu , kobayashi , Simon Subject: [alsa-devel] [PATCH 05/35] ASoC: rsnd: remove unnecessary 'out of memory' message from DVC 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/dvc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c index 36fc020..dbf0da6 100644 --- a/sound/soc/sh/rcar/dvc.c +++ b/sound/soc/sh/rcar/dvc.c @@ -354,10 +354,8 @@ int rsnd_dvc_probe(struct platform_device *pdev, } dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL); - if (!dvc) { - dev_err(dev, "CMD allocate failed\n"); + if (!dvc) return -ENOMEM; - } priv->dvc_nr = nr; priv->dvc = dvc;