[PATCH] staging/rtl8723bs: remove unused variable warning

From: Meeri Kallio

Date: Wed Jan 14 2026 - 15:47:55 EST


This is my first contribution to the Linux kernel. I am a beginner, and I
would greatly appreciate any feedback you can provide.

This patch removes an unused variable in the rtl8723bs staging driver to silence a compiler warning.
This is a small change, but it's my first step in contributing to the kernel. I look forward to learning and improving from any suggestions.

Signed-off-by: Meeri Kallio <meeri.kallio91@xxxxxxxxx>
---
drivers/staging/rtl8723bs/foo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/foo.c b/drivers/staging/rtl8723bs/foo.c
index abcdef0..1234567 100644
--- a/drivers/staging/rtl8723bs/foo.c
+++ b/drivers/staging/rtl8723bs/foo.c
@@ -1,3 +1,3 @@
-int unused_variable = 0;
+/* removed unused_variable to silence warning */
int rtl8723bs_init(void)
{
return 0;
}