printf: Remove unused 'bprintf'

bprintf() is unused. Remove it. It was added in the commit 4370aa4aa753
("vsprintf: add binary printf") but as far as I can see was never used,
unlike the other two functions in that patch.

Link: https://lore.kernel.org/20241002173147.210107-1-linux@treblig.org
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

authored by Dr. David Alan Gilbert and committed by Steven Rostedt (Google) f69e6375 7af08b57

Changed files
-24
include
linux
lib
-1
include/linux/string.h
··· 335 335 #ifdef CONFIG_BINARY_PRINTF 336 336 int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args); 337 337 int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf); 338 - int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4); 339 338 #endif 340 339 341 340 extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
-23
lib/vsprintf.c
··· 3428 3428 } 3429 3429 EXPORT_SYMBOL_GPL(bstr_printf); 3430 3430 3431 - /** 3432 - * bprintf - Parse a format string and place args' binary value in a buffer 3433 - * @bin_buf: The buffer to place args' binary value 3434 - * @size: The size of the buffer(by words(32bits), not characters) 3435 - * @fmt: The format string to use 3436 - * @...: Arguments for the format string 3437 - * 3438 - * The function returns the number of words(u32) written 3439 - * into @bin_buf. 3440 - */ 3441 - int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) 3442 - { 3443 - va_list args; 3444 - int ret; 3445 - 3446 - va_start(args, fmt); 3447 - ret = vbin_printf(bin_buf, size, fmt, args); 3448 - va_end(args); 3449 - 3450 - return ret; 3451 - } 3452 - EXPORT_SYMBOL_GPL(bprintf); 3453 - 3454 3431 #endif /* CONFIG_BINARY_PRINTF */ 3455 3432 3456 3433 /**