Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Commit 1e8f93e18379 ("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

authored by

Yuntao Wang and committed by
Ingo Molnar
03f11171 4e15b91c

+4 -4
+4 -4
arch/x86/include/asm/io.h
··· 242 242 243 243 #endif 244 244 245 - #define BUILDIO(bwl, bw, type) \ 245 + #define BUILDIO(bwl, type) \ 246 246 static inline void out##bwl##_p(type value, u16 port) \ 247 247 { \ 248 248 out##bwl(value, port); \ ··· 288 288 } \ 289 289 } 290 290 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) 294 294 #undef BUILDIO 295 295 296 296 #define inb_p inb_p