Re: [PATCH v2 5/9] staging: rtl8712: Fixed CamelCase renames IsrContent to isr_content

From: Greg KH
Date: Sun Jun 02 2019 - 13:16:47 EST


On Sun, Jun 02, 2019 at 03:55:34PM +0530, Deepak Mishra wrote:
> This patch fixes CamelCase IsrContent to isr_content as suggested by
> checkpatch.pl
>
> Signed-off-by: Deepak Mishra <linux.dkm@xxxxxxxxx>
> ---
> drivers/staging/rtl8712/drv_types.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
> index 5360f049088a..a5060a020b2b 100644
> --- a/drivers/staging/rtl8712/drv_types.h
> +++ b/drivers/staging/rtl8712/drv_types.h
> @@ -148,7 +148,7 @@ struct _adapter {
> bool driver_stopped;
> bool surprise_removed;
> bool suspended;
> - u32 IsrContent;
> + u32 isr_content;
> u32 imr_content;
> u8 eeprom_address_size;
> u8 hw_init_completed;

Same comment here, just remove unused variables. Is this structure even
ever used anywhere?

thanks,

greg k-h