Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5920278ybg; Tue, 22 Oct 2019 10:15:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIhBspouC4z94egLDZ6H7WDsdZ3tUJvsM6XOUijouq4rO5bB5r3Uf8NnAgdyc448Oj4nW8 X-Received: by 2002:aa7:d658:: with SMTP id v24mr3754200edr.301.1571764558728; Tue, 22 Oct 2019 10:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571764558; cv=none; d=google.com; s=arc-20160816; b=jjh/PeVl2JOIptsRmGmdBxRZo2au5CpP9xbMws+d8RoCWCD3eyVetcESjFQeQ/5QVZ 4C19N1zy9rN8VFT1KXEakqo6q4bBhfxxfK3crgri3wQukeLzNWw45yBk47unNlonJcrQ A3di27scETu5ofqS9iMt1ysygNROZEul0dsaNxqmYpM/oW8tlxRnSnUSnkc2DqHGf8IN +MEB0MpTHJx59850fUAuflHgd9XwmssFHOgczOz7zUrJyfxoX/KYAtTxGKCTuYlnzB8P dvjFdlf7DQZZnNAz7IdjStQeIE1HFvM80Oo9L1/ciQmYcggDsLjPkSODN5mkOYkSzRkR UiDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=7isrFSeffn5hLD65OLLA1mCT+N7etcPcn2lXBqGEuWs=; b=NX+IZLsYMVjL/DH4lGCDT3ZB0QAWAtM8CphpzGkQdyQCeCvIpPX1HLcmAv+/2sYxO3 o/A6yaQW89LGYRO3i1CAjHogZnEMazAqGhYwY5+C1t4i7zHn2Q72J/qqH6wipRgR3V4r 6eVpslMTAP0K3jDHFk7iYZnbltdEiI8iKEqHfNNPDzhRRWoiLu7YJ0p9BjcQOSkPDt32 99gghF4OvIAGg/a9oTanfAOPsKXmLd6FM3cuvlABEu5s0ADQiqx8Ua6XcHCrAKpMAfub ejaHelhwBsMTr435xdN443zgVW+5cQc1r4S1cd7kw+p1q77ZBM8X1Eh9FCWNB0AG2Rg5 KCCQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si11567422edv.319.2019.10.22.10.15.33; Tue, 22 Oct 2019 10:15:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389277AbfJVQNX (ORCPT + 99 others); Tue, 22 Oct 2019 12:13:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:59776 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732197AbfJVQNW (ORCPT ); Tue, 22 Oct 2019 12:13:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E8CAAB385; Tue, 22 Oct 2019 16:13:20 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] MIPS: arc: remove unused stuff Date: Tue, 22 Oct 2019 18:13:13 +0200 Message-Id: <20191022161315.4194-3-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191022161315.4194-1-tbogendoerfer@suse.de> References: <20191022161315.4194-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unused _prom_envp and prom_argc macro. Signed-off-by: Thomas Bogendoerfer --- arch/mips/fw/arc/init.c | 3 +-- arch/mips/include/asm/sgialib.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/mips/fw/arc/init.c b/arch/mips/fw/arc/init.c index 4ac6466a8872..c713292462aa 100644 --- a/arch/mips/fw/arc/init.c +++ b/arch/mips/fw/arc/init.c @@ -19,7 +19,7 @@ /* Master romvec interface. */ struct linux_romvec *romvec; int prom_argc; -LONG *_prom_argv, *_prom_envp; +LONG *_prom_argv; #if defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32) /* stack for calling 32bit ARC prom */ @@ -34,7 +34,6 @@ void __init prom_init(void) prom_argc = fw_arg0; _prom_argv = (LONG *) fw_arg1; - _prom_envp = (LONG *) fw_arg2; if (pb->magic != 0x53435241) { printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h index 21d17eb25ed8..40ab4ef0b1dc 100644 --- a/arch/mips/include/asm/sgialib.h +++ b/arch/mips/include/asm/sgialib.h @@ -17,12 +17,11 @@ extern struct linux_romvec *romvec; extern int prom_argc; -extern LONG *_prom_argv, *_prom_envp; +extern LONG *_prom_argv; /* A 32-bit ARC PROM pass arguments and environment as 32-bit pointer. These macros take care of sign extension. */ #define prom_argv(index) ((char *) (long) _prom_argv[(index)]) -#define prom_argc(index) ((char *) (long) _prom_argc[(index)]) extern int prom_flags; -- 2.16.4