Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4711510ybi; Tue, 11 Jun 2019 11:08:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEu8EXeg6NJqB0gtzL0PIRunVKW2YOJDfKNwrLFCDL6LTrD5Qu7DmC4zr6qBg2O6b3VfMC X-Received: by 2002:a65:454c:: with SMTP id x12mr21455918pgr.354.1560276529141; Tue, 11 Jun 2019 11:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560276529; cv=none; d=google.com; s=arc-20160816; b=LzE1YMmP5isD/SNHdTjPxKI4IQtaGelOGbdXsVUBzMUyMQUfm7CFo82MMfs6+g3Zwk HsCdxSxJBkpeBvI54BcTRButgsNh0fulvCEKuGSWPWn4lMB3vpOEk/rbG5BLjXDmtwlb j6zbKEUNp7iFtj+8k0VOaKjkCvouAqm+UiNyjwqYoLSXGvYKU7AFEhIXcFlTIlf+kfZZ 90qzm66nd7n8pkJPagj77LmUR49ZlydQwVeQ0zxy0cBiXAwVC9wOirh6RbfWZFzNhd5+ jhGtruvuCNCoqx3PY8W0ZzdrgxiJTs4NzSxzjLa/f0kHHpE63ps7+Z7fjCE+/V/K0LE1 YweQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0viPHiuXiALagAuJTSTKg7DcwkXlKKizYTwevl9VkvY=; b=PCneIitYaMCOvNZ9fJrI6aZLINdE0QDH9EY32gpUHncv799e6D8X+NK455TDfZfI9B OqSHnl1y1WGV7+iptnf4JSbXCWU36NMUmo5s3iV+PMA4TNmUrmTRf4IFZXhDDiphBnMz lt8I5MmqzlsFUY3hivtC4AM4zpGv2qVJhwc0dOKI71ehnQLTcuRKhUrv5534Irk4cdeR XCjxn6bUXJ86ESc9zbfMXTscGADabRM6RBovugGLgB/mUTo3/0kW9E1AE+kw00ZQENyv 458fXBoOhQlxHopwlu0rCPKbNNFJEl+cqtiDg7uI1vJwQFRhRceWwc7OvAIhyuITUag+ hKvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=OTwdAqC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j125si4645958pgc.453.2019.06.11.11.08.34; Tue, 11 Jun 2019 11:08:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=OTwdAqC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406908AbfFKSIV (ORCPT + 99 others); Tue, 11 Jun 2019 14:08:21 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:60354 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406922AbfFKSIT (ORCPT ); Tue, 11 Jun 2019 14:08:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1560276492; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0viPHiuXiALagAuJTSTKg7DcwkXlKKizYTwevl9VkvY=; b=OTwdAqC2vxPwXL7L28WXviP21bWFGV8y+cGYif32mwzSRT/BCSzKwjk+Q1ux7qa69HTLuA NMsb+cpARFlcB6oDVxpRdkKf5ip8o5k64lSVX4AREDhS8/6/Lvkb5Mo2To3RRy5ez6iVzS Xz7JVemZ00WM1JLCzB/0e01Vrd1ZMHs= From: Paul Cercueil To: Ralf Baechle , Paul Burton , James Hogan , Michael Turquette , Stephen Boyd Cc: od@zcrc.me, linux-mips@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v2 5/5] MIPS: Remove dead code Date: Tue, 11 Jun 2019 20:07:57 +0200 Message-Id: <20190611180757.32299-5-paul@crapouillou.net> In-Reply-To: <20190611180757.32299-1-paul@crapouillou.net> References: <20190611180757.32299-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the unused include. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc4 arch/mips/include/asm/mach-jz4740/clock.h | 22 ---------------------- arch/mips/jz4740/board-qi_lb60.c | 2 -- arch/mips/jz4740/platform.c | 2 -- arch/mips/jz4740/time.c | 3 --- 4 files changed, 29 deletions(-) delete mode 100644 arch/mips/include/asm/mach-jz4740/clock.h diff --git a/arch/mips/include/asm/mach-jz4740/clock.h b/arch/mips/include/asm/mach-jz4740/clock.h deleted file mode 100644 index 600d5051691a..000000000000 --- a/arch/mips/include/asm/mach-jz4740/clock.h +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2010, Lars-Peter Clausen - */ - -#ifndef __ASM_JZ4740_CLOCK_H__ -#define __ASM_JZ4740_CLOCK_H__ - -enum jz4740_wait_mode { - JZ4740_WAIT_MODE_IDLE, - JZ4740_WAIT_MODE_SLEEP, -}; - -void jz4740_clock_set_wait_mode(enum jz4740_wait_mode mode); - -void jz4740_clock_suspend(void); -void jz4740_clock_resume(void); - -void jz4740_clock_udc_enable_auto_suspend(void); -void jz4740_clock_udc_disable_auto_suspend(void); - -#endif diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c index 071e9d94eea7..d07ee418e5b0 100644 --- a/arch/mips/jz4740/board-qi_lb60.c +++ b/arch/mips/jz4740/board-qi_lb60.c @@ -37,8 +37,6 @@ #include -#include "clock.h" - /* GPIOs */ #define QI_LB60_GPIO_KEYOUT(x) (JZ_GPIO_PORTC(10) + (x)) #define QI_LB60_GPIO_KEYIN(x) (JZ_GPIO_PORTD(18) + (x)) diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c index 4b89abb17950..c74c99f5951d 100644 --- a/arch/mips/jz4740/platform.c +++ b/arch/mips/jz4740/platform.c @@ -21,8 +21,6 @@ #include #include -#include "clock.h" - /* USB Device Controller */ struct platform_device jz4740_udc_xceiv_device = { .name = "usb_phy_generic", diff --git a/arch/mips/jz4740/time.c b/arch/mips/jz4740/time.c index a3260c754e65..cb768e560d8b 100644 --- a/arch/mips/jz4740/time.c +++ b/arch/mips/jz4740/time.c @@ -13,13 +13,10 @@ #include #include -#include #include #include #include -#include "clock.h" - #define TIMER_CLOCKEVENT 0 #define TIMER_CLOCKSOURCE 1 -- 2.21.0.593.g511ec345e18