From patchwork Wed Sep 10 16:04:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 4879091 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C68879F32E for ; Wed, 10 Sep 2014 16:04:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 979B8201C7 for ; Wed, 10 Sep 2014 16:04:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 408892011E for ; Wed, 10 Sep 2014 16:04:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751722AbaIJQE1 (ORCPT ); Wed, 10 Sep 2014 12:04:27 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46296 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751084AbaIJQE1 (ORCPT ); Wed, 10 Sep 2014 12:04:27 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8AG4255016237; Wed, 10 Sep 2014 11:04:02 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8AG41IE003338; Wed, 10 Sep 2014 11:04:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Wed, 10 Sep 2014 11:04:01 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8AG41gx000573; Wed, 10 Sep 2014 11:04:01 -0500 Received: from localhost (dave-ubuntu.am.dhcp.ti.com [128.247.71.75]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s8AG41t21810; Wed, 10 Sep 2014 11:04:01 -0500 (CDT) From: Dave Gerlach To: , CC: Benoit Cousson , Tony Lindgren , Sekhar Nori , Santosh Shilimkar Subject: [PATCH v3 1/3] ARM: AM335x: Get rid of unused sram init function Date: Wed, 10 Sep 2014 11:04:02 -0500 Message-ID: X-Mailer: git-send-email 1.9.0 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-9.4 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 From: Rajendra Nayak Remove the empty am33xx_sram_init() function. Signed-off-by: Rajendra Nayak Signed-off-by: Dave Gerlach --- arch/arm/mach-omap2/sram.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/mach-omap2/sram.c b/arch/arm/mach-omap2/sram.c index ddf1818..5e45df0 100644 --- a/arch/arm/mach-omap2/sram.c +++ b/arch/arm/mach-omap2/sram.c @@ -285,11 +285,6 @@ static inline int omap34xx_sram_init(void) } #endif /* CONFIG_ARCH_OMAP3 */ -static inline int am33xx_sram_init(void) -{ - return 0; -} - int __init omap_sram_init(void) { omap_detect_sram(); @@ -299,8 +294,6 @@ int __init omap_sram_init(void) omap242x_sram_init(); else if (cpu_is_omap2430()) omap243x_sram_init(); - else if (soc_is_am33xx()) - am33xx_sram_init(); else if (cpu_is_omap34xx()) omap34xx_sram_init();