lkml.org 
[lkml]   [2019]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 5/9] staging: rtl8712: Fixed CamelCase renames IsrContent to isr_content
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@gmail.com>
> ---
> 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

\
 
 \ /
  Last update: 2019-06-02 19:14    [W:0.075 / U:24.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site