From c256d2a8adf2f5670ca262979c451ec4c1108e38 Mon Sep 17 00:00:00 2001 From: Ethan Nelson-Moore Date: Sat, 16 May 2026 19:57:08 -0700 Subject: [PATCH] x86: Remove unnecessary architecture-specific arch/x86/include/asm/device.h is identical to include/asm-generic/device.h, and therefore the x86-specific version is unnecessary. Remove it. [ dhansen: Minor note: It looks like if asm/foo.h does not exist that the build system generates one that does a #include . Thus, all that needs to be done is remove the arch-specific one. ] Signed-off-by: Ethan Nelson-Moore Signed-off-by: Dave Hansen Link: https://patch.msgid.link/20260517025713.97791-1-enelsonmoore@gmail.com --- arch/x86/include/asm/device.h | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 arch/x86/include/asm/device.h diff --git a/arch/x86/include/asm/device.h b/arch/x86/include/asm/device.h deleted file mode 100644 index 7c0a52ca2f4d..000000000000 --- a/arch/x86/include/asm/device.h +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_DEVICE_H -#define _ASM_X86_DEVICE_H - -struct dev_archdata { -}; - -struct pdev_archdata { -}; - -#endif /* _ASM_X86_DEVICE_H */