Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754832AbbKQUwi (ORCPT ); Tue, 17 Nov 2015 15:52:38 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:30746 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbbKQUwg (ORCPT ); Tue, 17 Nov 2015 15:52:36 -0500 From: Alban Bedel To: linux-mips@linux-mips.org Cc: Alban Bedel , Ralf Baechle , Felix Fietkau , Qais Yousef , Andrew Bresticker , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] MIPS: ath79: Remove some unused code from setup.c Date: Tue, 17 Nov 2015 21:52:01 +0100 Message-Id: <1447793523-19430-2-git-send-email-albeu@free.fr> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1447793523-19430-1-git-send-email-albeu@free.fr> References: <1447793523-19430-1-git-send-email-albeu@free.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1269 Lines: 48 Remove the unused defines for the reference clocks rate and the useless machine init function. Signed-off-by: Alban Bedel --- arch/mips/ath79/setup.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 8755d61..be451ee4a 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c @@ -36,10 +36,6 @@ #define ATH79_SYS_TYPE_LEN 64 -#define AR71XX_BASE_FREQ 40000000 -#define AR724X_BASE_FREQ 5000000 -#define AR913X_BASE_FREQ 5000000 - static char ath79_sys_type[ATH79_SYS_TYPE_LEN]; static void ath79_restart(char *command) @@ -272,15 +268,10 @@ void __init device_tree_init(void) unflatten_and_copy_device_tree(); } -static void __init ath79_generic_init(void) -{ - /* Nothing to do */ -} - MIPS_MACHINE(ATH79_MACH_GENERIC, "Generic", "Generic AR71XX/AR724X/AR913X based board", - ath79_generic_init); + NULL); MIPS_MACHINE(ATH79_MACH_GENERIC_OF, "DTB", -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/