Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934085AbcK2PDp (ORCPT ); Tue, 29 Nov 2016 10:03:45 -0500 Received: from gloria.sntech.de ([95.129.55.99]:47359 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933842AbcK2PDe (ORCPT ); Tue, 29 Nov 2016 10:03:34 -0500 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Alexander Kochetkov Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Thomas Gleixner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao , Daniel Lezcano Subject: Re: [PATCH v3 08/13] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Tue, 29 Nov 2016 16:03:30 +0100 Message-ID: <4764744.Q8IDkmDPk7@diego> User-Agent: KMail/4.14.10 (Linux/4.6.0-1-amd64; KDE/4.14.22; x86_64; ; ) In-Reply-To: <1480427118-5126-9-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-9-git-send-email-al.kochet@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 33 Am Dienstag, 29. November 2016, 16:45:13 schrieb Alexander Kochetkov: > Use of functions has been ceased by previous commit. Then why do you need another patch to remove them and don't do that in the patch removing their respective usage? > > Signed-off-by: Alexander Kochetkov > --- > drivers/clocksource/rockchip_timer.c | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/drivers/clocksource/rockchip_timer.c > b/drivers/clocksource/rockchip_timer.c index aa9ccd1..a17dc61 100644 > --- a/drivers/clocksource/rockchip_timer.c > +++ b/drivers/clocksource/rockchip_timer.c > @@ -53,16 +53,6 @@ static inline struct rk_timer *rk_timer(struct > clock_event_device *ce) return &rk_clock_event_device(ce)->timer; > } > > -static inline void __iomem *rk_base(struct clock_event_device *ce) > -{ > - return rk_timer(ce)->base; > -} > - > -static inline void __iomem *rk_ctrl(struct clock_event_device *ce) > -{ > - return rk_timer(ce)->ctrl; > -} > - > static inline void rk_timer_disable(struct rk_timer *timer) > { > writel_relaxed(TIMER_DISABLE, timer->ctrl);