Re: [PATCH v2 4/9] staging: rtl8712: Fixed CamelCase renames evtThread to evt_thread

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


On Sun, Jun 02, 2019 at 03:55:33PM +0530, Deepak Mishra wrote:
> This patch fixes CamelCase renames evtThread to evt_thread in struct _adapter as reported by
> checkpatch.pl
> CHECK: Avoid CamelCase: <evtThread>
>
> 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 c6faafb13bdf..5360f049088a 100644
> --- a/drivers/staging/rtl8712/drv_types.h
> +++ b/drivers/staging/rtl8712/drv_types.h
> @@ -153,7 +153,7 @@ struct _adapter {
> u8 eeprom_address_size;
> u8 hw_init_completed;
> struct task_struct *cmd_thread;
> - pid_t evtThread;
> + pid_t evt_thread;

If this is never used, please delete it.

thanks,

greg k-h