Re: [PATCH 13/15] staging: vt6655: kernel style cleanup of mac.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Jul 2021, Lucas Henneman wrote:

> This patch removes from mac.c the file name and an ftrace-like pr_debug
> per checkpatch's two warnings.

Please add the warning verbatim.

> Signed-off-by: Lucas Henneman <lucas.henneman@xxxxxxxxxx>
> ---
>  drivers/staging/vt6655/mac.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c
> index f5ae7f1f5689..9721c2234bf2 100644
> --- a/drivers/staging/vt6655/mac.c
> +++ b/drivers/staging/vt6655/mac.c
> @@ -3,8 +3,6 @@
>   * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
>   * All rights reserved.
>   *
> - * File: mac.c
> - *
>   * Purpose:  MAC routines
>   *
>   * Author: Tevin Chen
> @@ -775,7 +773,6 @@ void MACvSetKeyEntry(struct vnt_private *priv, unsigned short wKeyCtl,
>  	if (byLocalID <= 1)
>  		return;
>  
> -	pr_debug("%s\n", __func__);
>  	offset = MISCFIFO_KEYETRY0;
>  	offset += (uEntryIdx * MISCFIFO_KEYENTRYSIZE);
>  

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux