summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-12-01 13:10:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-12-01 13:10:51 -0800
commit88862eeb476375687a1de5f45528a437ea598338 (patch)
treed3b202397e6cf53a35d9f1523559abefd445ddcc /include
parentf788b5ef1ca9b1c2f8d4e1beb2b25edc2db43ef4 (diff)
parentf69e63756f7822fcdad8a34f9967e8b243e883ee (diff)
downloadlinux-88862eeb476375687a1de5f45528a437ea598338.tar.gz
linux-88862eeb476375687a1de5f45528a437ea598338.tar.bz2
linux-88862eeb476375687a1de5f45528a437ea598338.zip
Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull bprintf() removal from Steven Rostedt: - Remove unused bprintf() function, that was added with the rest of the "bin-printf" functions. These are functions that are used by trace_printk() that allows to quickly save the format and arguments into the ring buffer without the expensive processing of converting numbers to ASCII. Then on output, at a much later time, the ring buffer is read and the string processing occurs then. The bprintf() was added for consistency but was never used. It can be safely removed. * tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: printf: Remove unused 'bprintf'
Diffstat (limited to 'include')
-rw-r--r--include/linux/string.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 0dd27afcfaf7..493ac4862c77 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -335,7 +335,6 @@ int __sysfs_match_string(const char * const *array, size_t n, const char *s);
#ifdef CONFIG_BINARY_PRINTF
int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf);
-int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4);
#endif
extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,