From nobody Sun Feb 8 05:28:27 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56D3CC001DE for ; Wed, 26 Jul 2023 23:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231224AbjGZXtO (ORCPT ); Wed, 26 Jul 2023 19:49:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjGZXtM (ORCPT ); Wed, 26 Jul 2023 19:49:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782C2E0 for ; Wed, 26 Jul 2023 16:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=o4y3h13DqwkObDVE8uFly/JudDZ7Hu6hufCHbRpUZRY=; b=svZOQRP3b5N7hdQtIEFYu5nyfd 5ilogn+EVo7SXOTvC6TFP5CCjIvGNKioJCtN7ztJ6PU3QdpWqjTHglYtTKZAPt1NpWba6E/ixTXsk ZjcU/kaTojdFWLclSq/eeVa2eX7mhCPDN9cH2hP/A9c6IydcgqlyeoWLvYTI7uE5tdtf7fy5grybh /s1prHKRLd6ALBj5nzMg4B/uI2TGSNyZg9S1289knmiGolkel18BhnWlEjdTC0AwhojYxCqe27ULD OsnG1rLmkK3an4Dri1VkEcdIZQlGn1xn+jKk34hYLFO6ms0VSm34s1C3H86TM7uAmhjxoAULJ3WML a6G5Hf5w==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qOoFj-00Bk2s-0a; Wed, 26 Jul 2023 23:49:11 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jiri Kosina , x86@kernel.org Subject: [PATCH] x86/APM: drop the duplicate APM_MINOR_DEV macro Date: Wed, 26 Jul 2023 16:49:10 -0700 Message-ID: <20230726234910.14775-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This source file already includes , which contains the same macro. It doesn't need to be defined here again. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: x86@kernel.org Reviewed-by: Sohil Mehta --- arch/x86/kernel/apm_32.c | 6 ------ 1 file changed, 6 deletions(-) diff -- a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c @@ -239,12 +239,6 @@ extern int (*console_blank_hook)(int); #endif =20 /* - * The apm_bios device is one of the misc char devices. - * This is its minor number. - */ -#define APM_MINOR_DEV 134 - -/* * Various options can be changed at boot time as follows: * (We allow underscores for compatibility with the modules code) * apm=3Don/off enable/disable APM