Commit 03f11171 authored by Yuntao Wang's avatar Yuntao Wang Committed by Ingo Molnar
Browse files

x86/io: Remove the unused 'bw' parameter from the BUILDIO() macro



Commit 1e8f93e1 ("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: default avatarYuntao Wang <ytcoode@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231123034911.217791-1-ytcoode@gmail.com
parent 4e15b91c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ static inline void slow_down_io(void)

#endif

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

BUILDIO(b, b, u8)
BUILDIO(w, w, u16)
BUILDIO(l,  , u32)
BUILDIO(b, u8)
BUILDIO(w, u16)
BUILDIO(l, u32)
#undef BUILDIO

#define inb_p inb_p