Skip to content

Commit 03f1117

Browse files
ytcoodeingomolnar
authored andcommitted
x86/io: Remove the unused 'bw' parameter from the BUILDIO() macro
Commit 1e8f93e ("x86: Consolidate port I/O helpers") moved some port I/O helpers to <asm/shared/io.h>, which caused the 'bw' parameter in the BUILDIO() macro to become unused. Remove it. Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20231123034911.217791-1-ytcoode@gmail.com
1 parent 4e15b91 commit 03f1117

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • arch/x86/include/asm

arch/x86/include/asm/io.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static inline void slow_down_io(void)
242242

243243
#endif
244244

245-
#define BUILDIO(bwl, bw, type) \
245+
#define BUILDIO(bwl, type) \
246246
static inline void out##bwl##_p(type value, u16 port) \
247247
{ \
248248
out##bwl(value, port); \
@@ -288,9 +288,9 @@ static inline void ins##bwl(u16 port, void *addr, unsigned long count) \
288288
} \
289289
}
290290

291-
BUILDIO(b, b, u8)
292-
BUILDIO(w, w, u16)
293-
BUILDIO(l, , u32)
291+
BUILDIO(b, u8)
292+
BUILDIO(w, u16)
293+
BUILDIO(l, u32)
294294
#undef BUILDIO
295295

296296
#define inb_p inb_p

0 commit comments

Comments
 (0)