From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E4CF1DF98F; Wed, 6 Nov 2024 13:18:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730899085; cv=none; b=rDdO9elV6LX+8nF9rC44XGeBuhOw3ar6npUgy37xlqUAfPIOyQNDnthkngCeFzIrQxzhM0TNFwZLDPRoCkH9o3pfwH8qFtCzDHAh/7BF9CKk30RGVZAQMMQq7uXXRQqT6nGNDMGzQ5ZysMFDwV59Z/SRS9rS62PGAI16pHGOQk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730899085; c=relaxed/simple; bh=7vQ4uoMYfUN9FTIyB1dCfRJP3uhEXaGfrKNAf9Ic9YQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=erfNhIJcpwblhxEW+GIFNrGBJd9Q2ZECBkE6l+Xd9uZjJBjfhVBvKDNADP40zQVYq09IM6W4/NaW3oUpmygZ6ZQT+iZYziExb9tSWeHyZQsQFBy8D+A2v5aUCU2RQTmuJJmNkyf5VahncKWEIY5TYIffJcShfH9uV8wl694BdmA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zkr8x/aA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Zkr8x/aA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF8DBC4CECD; Wed, 6 Nov 2024 13:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730899085; bh=7vQ4uoMYfUN9FTIyB1dCfRJP3uhEXaGfrKNAf9Ic9YQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zkr8x/aA0Y9mdbJjD9cozJ78ydfiEjNPfezDbysBK2TXVk7quVOImOHhbOFjVBxna jAEIyxcP2doy2Nx3Nns5Lom2DbOeOv41avUUEuXbn2PEfIIC2xVQzE/HsgbZH6m4wc aagEtvY+fNU3+j+hVaqmM26tg3/1bavRTmuGTS+0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexandre Ghiti , Chunyan Zhang , Palmer Dabbelt , Sasha Levin Subject: [PATCH 5.4 455/462] riscv: Remove unused GENERATING_ASM_OFFSETS Date: Wed, 6 Nov 2024 13:05:48 +0100 Message-ID: <20241106120342.743685553@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241106120331.497003148@linuxfoundation.org> References: <20241106120331.497003148@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chunyan Zhang [ Upstream commit 46d4e5ac6f2f801f97bcd0ec82365969197dc9b1 ] The macro is not used in the current version of kernel, it looks like can be removed to avoid a build warning: ../arch/riscv/kernel/asm-offsets.c: At top level: ../arch/riscv/kernel/asm-offsets.c:7: warning: macro "GENERATING_ASM_OFFSETS" is not used [-Wunused-macros] 7 | #define GENERATING_ASM_OFFSETS Fixes: 9639a44394b9 ("RISC-V: Provide a cleaner raw_smp_processor_id()") Cc: stable@vger.kernel.org Reviewed-by: Alexandre Ghiti Tested-by: Alexandre Ghiti Signed-off-by: Chunyan Zhang Link: https://lore.kernel.org/r/20241008094141.549248-2-zhangchunyan@iscas.ac.cn Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- arch/riscv/kernel/asm-offsets.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c index 9f5628c38ac9f..42c69d5554e44 100644 --- a/arch/riscv/kernel/asm-offsets.c +++ b/arch/riscv/kernel/asm-offsets.c @@ -4,8 +4,6 @@ * Copyright (C) 2017 SiFive */ -#define GENERATING_ASM_OFFSETS - #include #include #include -- 2.43.0