Thread (19 messages) 19 messages, 3 authors, 2021-07-27

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

From: Lee Jones <hidden>
Date: 2021-07-23 15:15:03

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.
quoted hunk ↗ jump to hunk
Signed-off-by: Lucas Henneman <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help