Skip to contentSkip to conversation

staging/rtl8723bs: remove unused variable warning

PATCH Superseded Meeri Kallio 1 participant 1 message Jan 14 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/rtl8723bs: remove unused variable warning

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.

---
 drivers/staging/rtl8723bs/foo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/foo.c +1 -1
index abcdef0..1234567 100644
@@ -1,3 +1,3 @@
-int unused_variable = 0;
+/* removed unused_variable to silence warning */
 int rtl8723bs_init(void)
 {
     return 0;

}