Messages in this thread Patch in this message | | | Date | Fri, 5 Aug 2022 18:28:05 +0200 | From | Grzegorz Szymaszek <> | Subject | [PATCH v2 3/4] staging: r8188eu: drop the DRV_NAME macro |
| |
The DRV_NAME macro is not used anywhere; KBUILD_MODNAME should be used instead. Remove the macro declaration.
Link: https://lore.kernel.org/lkml/Yuy7Lc%2FTJMinuupA@kroah.com/ Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> --- V1 -> V2: Split v1-0003 into v2-0003 and v2-0004. Remove the DRV_NAME macro, since KBUILD_MODNAME should be used instead
drivers/staging/r8188eu/include/drv_types.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/staging/r8188eu/include/drv_types.h b/drivers/staging/r8188eu/include/drv_types.h index f51b83515953..f659eac70b32 100644 --- a/drivers/staging/r8188eu/include/drv_types.h +++ b/drivers/staging/r8188eu/include/drv_types.h @@ -10,8 +10,6 @@ #ifndef __DRV_TYPES_H__ #define __DRV_TYPES_H__ -#define DRV_NAME "r8188eu" - #include "osdep_service.h" #include "wlan_bssdef.h" #include "rtw_ht.h" -- 2.35.1
| |