Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933393AbcK1Ocm (ORCPT ); Mon, 28 Nov 2016 09:32:42 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34668 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933176AbcK1Obk (ORCPT ); Mon, 28 Nov 2016 09:31:40 -0500 From: Alexander Kochetkov To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Thomas Gleixner , Heiko Stuebner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao , Daniel Lezcano , Alexander Kochetkov Subject: [PATCHv2 07/11] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Mon, 28 Nov 2016 17:31:22 +0300 Message-Id: <1480343486-25539-8-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 30 Use of functions has been ceased by previous commit. 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); -- 1.7.9.5