From patchwork Tue Aug 11 11:28:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonyoung Shim X-Patchwork-Id: 6991711 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 BA43F9F344 for ; Tue, 11 Aug 2015 11:29:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F35D12060B for ; Tue, 11 Aug 2015 11:29:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2ABBD2062F for ; Tue, 11 Aug 2015 11:29:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964978AbbHKL3A (ORCPT ); Tue, 11 Aug 2015 07:29:00 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:43706 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933990AbbHKL2X (ORCPT ); Tue, 11 Aug 2015 07:28:23 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NSX02V3I17AUWD0@mailout3.samsung.com>; Tue, 11 Aug 2015 20:28:22 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.115]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id E7.EF.29324.65CD9C55; Tue, 11 Aug 2015 20:28:22 +0900 (KST) X-AuditID: cbfee68d-f79106d00000728c-81-55c9dc564fc7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id B1.BB.07062.55CD9C55; Tue, 11 Aug 2015 20:28:22 +0900 (KST) Received: from localhost.localdomain ([10.252.81.123]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NSX00CU9179S570@mmp1.samsung.com>; Tue, 11 Aug 2015 20:28:21 +0900 (KST) From: Joonyoung Shim To: rtc-linux@googlegroups.com Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, cw00.choi@samsung.com, k.kozlowski@samsung.com, jy0922.shim@samsung.com Subject: [PATCH 2/4] rtc: s3c: remove unnecessary NULL assignment Date: Tue, 11 Aug 2015 20:28:20 +0900 Message-id: <1439292502-22912-2-git-send-email-jy0922.shim@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1439292502-22912-1-git-send-email-jy0922.shim@samsung.com> References: <1439292502-22912-1-git-send-email-jy0922.shim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRsSkWDfszslQg+a93BZLLl5lt+i4tpjJ 4vqX56wWL+5dZLF4/cLQ4vKuOWwWM87vY7LY39nB6MDh8WTTRUaPPRNPsnn0bVnF6DF93k8m j8+b5AJYo7hsUlJzMstSi/TtErgyLnz+zVJwg6Xi991lrA2MX5m7GDk5JARMJHq/PGSEsMUk Ltxbz9bFyMUhJLCCUeLrsqeMMEUXFhxnA7GFBJYySvQfi4co+sEoseL3LiaQBJuAnsSdbcfB bBEBOYmbB9+B2cwCZxglGk4mgdjCAo4Sn/d3g21mEVCV+Dm9mx3E5hVwl7g8qYMdYpmcxMlj k1lBbE4BD4lbky6zQCx2l/i3bDvUQYvYJSadC4eYIyDxbfIhoBoOoLisxKYDUI9JShxccYNl AqPwAkaGVYyiqQXJBcVJ6UWGesWJucWleel6yfm5mxiBwX7637PeHYy3D1gfYhTgYFTi4RXw PBkqxJpYVlyZe4jRFGjDRGYp0eR8YEzllcQbGpsZWZiamBobm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vpd+qH1/skPJ0yZWF370sdHw2zu46gatR8Xtwju8GpVYinOSDTUYi4qTgQAg/6D pr8CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.1 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 It's unnecessary the code that assigns info->rtc_clk to NULL in s3c_rtc_remove. Signed-off-by: Joonyoung Shim Reviewed-by: Krzysztof Kozlowski --- drivers/rtc/rtc-s3c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index d1866a4..44b2921 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -413,7 +413,6 @@ static int s3c_rtc_remove(struct platform_device *pdev) if (info->data->needs_src_clk) clk_unprepare(info->rtc_src_clk); clk_unprepare(info->rtc_clk); - info->rtc_clk = NULL; return 0; }