staging: rtl8723bs: remove unused rtw_sprintf macro
PATCH v4 1/1 staging: rtl8723bs: remove unused rtw_sprintf macro
From: Rafiqul Islam <[email protected]>
The rtw_sprintf macro is defined in osdep_service.h but has no callers in the driver. Remove the dead code.
Changes since v2:
- Addressed review feedback to delete the macro instead of replacing it
--- drivers/staging/rtl8723bs/include/osdep_service.h | 6 ------ 1 file changed, 6 deletions(-)
drivers/staging/rtl8723bs/include/osdep_service.h +0 -6
@@ -115,10 +115,4 @@ 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
Signature · 1 line
2.34.1
Greg KH
maintainerQuoted 5 lines · On Tue, Oct 28, 2025 at 10:20:22AM +0100, rafiqul713 wrote:
From: Rafiqul Islam <[email protected]>
The
rtw_sprintfmacro is defined inosdep_service.hbut has no callers in the driver. Remove the dead code.
Quoted 7 lines
Changes since v2:
- Addressed review feedback to delete the macro instead of replacing itSigned-off-by Rafiqul Islam <[email protected]>--- drivers/staging/rtl8723bs/include/osdep_service.h | 6 ------ 1 file changed, 6 deletions(-)
{sigh}
Again, go back and take a look at the links my bot pointed you at, to be specific, read this:
- This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this.
Take a few more days, relax, and try again. There is no rush here.
greg k-h