From 5c534b5f7fd180d1333aa7b448231dffc07773a0 Mon Sep 17 00:00:00 2001 From: Nikolay Kulikov Date: Tue, 7 Apr 2026 17:33:29 +0300 Subject: [PATCH] staging: rtl8723bs: remove unused rtw_sprintf() macro Remove the unused rtw_sprintf() macro, which is a wrapper around the standard Kernel function snprintf(). Signed-off-by: Nikolay Kulikov Link: https://patch.msgid.link/20260407143622.9767-5-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/include/osdep_service.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/osdep_service.h b/drivers/staging/rtl8723bs/include/osdep_service.h index 82def452b335..cd73fa294a56 100644 --- a/drivers/staging/rtl8723bs/include/osdep_service.h +++ b/drivers/staging/rtl8723bs/include/osdep_service.h @@ -87,10 +87,5 @@ bool rtw_cbuf_push(struct rtw_cbuf *cbuf, void *buf); void *rtw_cbuf_pop(struct rtw_cbuf *cbuf); struct rtw_cbuf *rtw_cbuf_alloc(u32 size); -/* String handler */ -/* - * Write formatted output to sized buffer - */ -#define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) #endif