Message ID | CAPgLHd8N4G4b2LwFKBRWJi-_ay6FihPL2WXMh4W3+iwObRcJzA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 774569F239 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Aug 2013 02:36:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EEF7020464 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Aug 2013 02:36:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF8DD20458 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Aug 2013 02:36:04 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCKkZ-0005dp-Q6; Thu, 22 Aug 2013 02:35:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCKkX-0002gy-Fj; Thu, 22 Aug 2013 02:35:49 +0000 Received: from mail-bk0-f50.google.com ([209.85.214.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCKkN-0002gd-Pz for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2013 02:35:47 +0000 Received: by mail-bk0-f50.google.com with SMTP id mz11so480552bkb.9 for <linux-arm-kernel@lists.infradead.org>; Wed, 21 Aug 2013 19:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=iUvzOp6R8RcKJsXMJwpacwGP11kAIFnXbLtGrBEtKgY=; b=aorSn1l/5DlM0glOA3k4C+w6qs0MGj4LD4cLFvvq2IrgM3AR4KzXRfs/ddUHnGNIin fyiqHP1qWoxuNMZ0KN5YqYTkGpzwn7sr1DGuyePIkPpjrnoRRlHaNxD/f434IszSDp8K Diup64NXiMJVxqOWlKyWQHReuMmNSjOCMp5GjlzGve2u0TxK/7700VZn/sV0G3pBkpxm lIWwpmXaNKtfeXsSR8Yzulr0+o/DcTJAKWOaSSCbRGoyYB6MDjqx1uIWAvojsim6vFFg iUIPA7Z8IwSHX5W8ic0zgXNbFi7pIoGXEVKOLu/9IuA91IgviH7tnD71rz9rEF1FCtaN fJQA== MIME-Version: 1.0 X-Received: by 10.205.22.71 with SMTP id qv7mr7689816bkb.20.1377138913149; Wed, 21 Aug 2013 19:35:13 -0700 (PDT) Received: by 10.205.13.74 with HTTP; Wed, 21 Aug 2013 19:35:13 -0700 (PDT) Date: Thu, 22 Aug 2013 10:35:13 +0800 Message-ID: <CAPgLHd8N4G4b2LwFKBRWJi-_ay6FihPL2WXMh4W3+iwObRcJzA@mail.gmail.com> Subject: [PATCH -next] ARM: pxa: ssp: remove kfree for memory allocated with devm_kzalloc From: Wei Yongjun <weiyj.lk@gmail.com> To: linux@arm.linux.org.uk, grant.likely@linaro.org, rob.herring@calxeda.com, broonie@linaro.org, haojian.zhuang@gmail.com, zonque@gmail.com, gregkh@linuxfoundation.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130821_223540_033247_782FCD86 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) Cc: devicetree@vger.kernel.org, yongjun_wei@trendmicro.com.cn, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 |
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c index c83f27b..d1230a8 100644 --- a/arch/arm/plat-pxa/ssp.c +++ b/arch/arm/plat-pxa/ssp.c @@ -240,7 +240,6 @@ static int pxa_ssp_remove(struct platform_device *pdev) list_del(&ssp->node); mutex_unlock(&ssp_lock); - kfree(ssp); return 0; }