Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5836471ybv; Wed, 12 Feb 2020 01:00:09 -0800 (PST) X-Google-Smtp-Source: APXvYqydhjpFl9T4GbNykWHYy1BaBJ05LT+vJmUh6qGtvo3/Iz3W45yb4hVggxONLC0+izX1up+O X-Received: by 2002:a9d:806:: with SMTP id 6mr8096431oty.90.1581498008978; Wed, 12 Feb 2020 01:00:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581498008; cv=none; d=google.com; s=arc-20160816; b=KZWNtFHdGrC9ww+LH0JcUCZGjgqeD64URy6SFMeVRXkSAhmvH7ZpalZnIu91f+M8lp kgLHJVFOJDh5+xRX02/Uer2JY3z1UEFhsR5Yu4SU1G2KvA+PeO+IyLV06uFFayCknDSl AOkN/hOFUBAqKKn4uiL5A8YvaykqIzva71S/0uemsS4ku5qmQVDfKooXZNPK81PtI/y9 E734ef4P2R6AAtLeIxQwDV1D7zLwHMZb881q6dqMiD5QJ+Qx2w49KdEMDhfC14KmOyds 4QA/Us8VYN2bNQ4nkEyHhAQdcemlzvmp/Zjmmd5k/3iazZmIEKtejSfgSJMNUc4a14Nm tGvg== 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=PbPM+IFIv10EDyvULs9OlFwo1yj0tKaQ85CzafFBjwk=; b=zQ9RY57p8KOcW6fI4AYbuZEKpD3K8UZgDrEM3Q9qm6Gja6B1hgRyfO3/LM8HwEVLTI mLLmdhT1vs3f1YNdfXsLkD6PsKrPrgyJCtNcPgi9PHOFaxh2jx0q0Z12JK7qJmJ42WPW C+7aL0BjuDyL0hBPbLKGIRAygGxMZ8VxmPFj142VlpcqKQdCjhHt8hvv0J47pKJW/Io9 8CD9erawbf3d4iA01Dy5bwg1pZLTLJ6PgRTW9DDE6set3NgY3vcDvjCOntp6jWIRgqnE uNlOhf8pkv15RREsTSRtw1djmw5+ppIh+A+XdYzRJIhqnq4GlUXHqEJwF0x8O+llZ/Yp 2gZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=zZXNM0dY; 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 b5si4313211ots.78.2020.02.12.00.59.56; Wed, 12 Feb 2020 01:00:08 -0800 (PST) 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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=zZXNM0dY; 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 S1728833AbgBLI63 (ORCPT + 99 others); Wed, 12 Feb 2020 03:58:29 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33639 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728807AbgBLI60 (ORCPT ); Wed, 12 Feb 2020 03:58:26 -0500 Received: by mail-wr1-f67.google.com with SMTP id u6so1216375wrt.0 for ; Wed, 12 Feb 2020 00:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PbPM+IFIv10EDyvULs9OlFwo1yj0tKaQ85CzafFBjwk=; b=zZXNM0dYGW7Znea8Gw9/B3wlfsH1LC/HedoZf5DlseriHMnA5bh7R5UjtuxUSkGVGL s50bzjS0iKOUMjVM0pnMs2IOIvM9j6binbeGCOF2f/w383kJWcCfCaDsUil+X4wFRYOQ DWqN1Lw6QxQvPoejpNSHByEodgJpzeem5k+EztSflE+5n7CbSnIAkgvSSLKIoFFpXltS 76iwoxDy4+TfvXswUpTO66A74szY1M9TySL2stCmKVhUEzZjWiFY3A6/FvydyTbPKAD+ Y2dGAT+Yxu1e9AbldCUM/UC/LIgGgajmnUKaFk5SWMbZf/a6fszg2vPtaaXYis+pSQ7s N+KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=PbPM+IFIv10EDyvULs9OlFwo1yj0tKaQ85CzafFBjwk=; b=Xzrn7lpAQHpUMu9V7eQq5FccGpfjtmVEw76vE/GRxq+KeL+QtIlWLJGNUYokMiRtYO OHLcFvV4MAqRN5SKHBx91+GnPRDZYQ4E8RuBwPshZPrSrjISjwr88ChEyi3bnYPmvO5w Qdlli8qt74W24fDMhzkOnELlBocwOZ5L8yFR2C29RBMR80fFkfwabMS/YMYzSdv+Rcl3 kEF4pImjZRrDe+bhauqJXLp5MrES8prsTbfKP6V73H08pM19YcyuPGE3Zng0k/+C6X+C WGhbHiy32PTp+1C4lnDvXzvaLqo+OqnxdO2pxhusxiEA0OsC+Lk92EoRn6pvJORqym6y iMcA== X-Gm-Message-State: APjAAAWfzBZYXJMVFOz9j/sGGK0saLfdaNlL8uXEo1C/JhG7/NYu6b3T oEQ6UmDhCgoz+m8L457wSjVOmNZRB7PTZQ== X-Received: by 2002:adf:ffc5:: with SMTP id x5mr14481864wrs.92.1581497902930; Wed, 12 Feb 2020 00:58:22 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p26sm7019262wmc.24.2020.02.12.00.58.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 00:58:22 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, arnd@arndb.de Cc: Stefan Asserhall , Arvind Sankar , Greg Kroah-Hartman , Shubhrajyoti Datta Subject: [PATCH 08/10] microblaze: Remove unused boot_cpuid variable Date: Wed, 12 Feb 2020 09:58:05 +0100 Message-Id: <658d8948b81137b205b02032bda43d2ea6998fe7.1581497860.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: References: 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 boot_cpuid is not used on uni processor system that's why can be removed. Signed-off-by: Michal Simek Reviewed-by: Stefan Asserhall --- arch/microblaze/include/asm/setup.h | 2 -- arch/microblaze/kernel/setup.c | 1 - 2 files changed, 3 deletions(-) diff --git a/arch/microblaze/include/asm/setup.h b/arch/microblaze/include/asm/setup.h index c209d5297029..be10da9d87cb 100644 --- a/arch/microblaze/include/asm/setup.h +++ b/arch/microblaze/include/asm/setup.h @@ -10,8 +10,6 @@ #include # ifndef __ASSEMBLY__ -extern unsigned int boot_cpuid; /* move to smp.h */ - extern char cmd_line[COMMAND_LINE_SIZE]; extern char *klimit; diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index a8fc15ac4291..dd121e33b8e3 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -41,7 +41,6 @@ DEFINE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */ DEFINE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */ DEFINE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */ -unsigned int boot_cpuid; /* * Placed cmd_line to .data section because can be initialized from * ASM code. Default position is BSS section which is cleared -- 2.25.0