Skip to contentSkip to conversation

staging: rtl8723bs: remove unused SSIZE_PTR definition

PATCH New Gabriel Windlin 1 participant 1 message Sep 6 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: remove unused SSIZE_PTR definition

The SSIZE_PTR macro is defined as __kernel_ssize_t in basic_types.h but is never referenced anywhere in this driver or the rest of the kernel tree. Remove this unused definition to clean up dead code as noted in the driver's TODO file.

---
 drivers/staging/rtl8723bs/include/basic_types.h | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtl8723bs/include/basic_types.h +0 -1
index b6b1afaa9ab8..dd376072d1c7 100644
@@ -14,7 +14,6 @@
 #include <linux/stddef.h>
 
 #define SIZE_PTR __kernel_size_t
-#define SSIZE_PTR __kernel_ssize_t
 
 /* port from fw by thomas */
 /*  TODO: Belows are Sync from SD7-Driver. It is necessary to check correctness */

base-commit: df2908090cda368b01ff43709f51890076c56157

Signature · 1 line
2.55.0