Skip to contentSkip to conversation

staging: vt6655: drop off byRxMode var in device.h

PATCH Superseded Tommaso Merciai 2 participants 3 messages Dec 19, 2021 – Dec 20, 2021 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: drop off byRxMode var in device.h

Drop off unused variable byRxMode in device.h, this fix following checkpatch.pl check:

CHECK: Avoid CamelCase: <byRxMode>
131: FILE: drivers/staging/vt6655/device.h:131:
unsigned char byRxMode

---
 drivers/staging/vt6655/device.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/vt6655/device.h +0 -2
index 4706bde1ec1d..84b1dcf80e47 100644
@@ -128,8 +128,6 @@ struct vnt_private {
 	u32                         memaddr;
 	u32                         ioaddr;
 
-	unsigned char byRxMode;
-
 	spinlock_t                  lock;
 
 	volatile int                iTDUsed[TYPE_MAXTD];
Signature · 1 line
2.25.1
#1 lore raw
Quoted 29 lines · Tommaso Merciai

Drop off unused variable byRxMode in device.h, this fix following checkpatch.pl check:

CHECK: Avoid CamelCase: <byRxMode>
131: FILE: drivers/staging/vt6655/device.h:131:
unsigned char byRxMode

---
 drivers/staging/vt6655/device.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/vt6655/device.h +0 -2
index 4706bde1ec1d..84b1dcf80e47 100644
@@ -128,8 +128,6 @@ struct vnt_private {
 	u32                         memaddr;
 	u32                         ioaddr;
 
-	unsigned char byRxMode;
-
 	spinlock_t                  lock;
 
 	volatile int                iTDUsed[TYPE_MAXTD];
Signature · 1 line
2.25.1

Did you send this twice? What is the difference between the two versions?

And you have trailing whitespace in the changelog for this message, please fix.

thanks,

greg k-h

#2 lore raw
Quoted 25 lines · Greg Kroah-Hartman
Quoted 24 lines · Tommaso Merciai

Drop off unused variable byRxMode in device.h, this fix following checkpatch.pl check:

CHECK: Avoid CamelCase: <byRxMode>
131: FILE: drivers/staging/vt6655/device.h:131:
unsigned char byRxMode

---
 drivers/staging/vt6655/device.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/vt6655/device.h +0 -2
index 4706bde1ec1d..84b1dcf80e47 100644
@@ -128,8 +128,6 @@ struct vnt_private {
 	u32                         memaddr;
 	u32                         ioaddr;
 
-	unsigned char byRxMode;
-
 	spinlock_t                  lock;
 
Quoted 8 lines
Quoted 5 lines
drivers/staging/vt6655/device.h +0 -0
 	volatile int                iTDUsed[TYPE_MAXTD];
Signature · 1 line
2.25.1

Did you send this twice? What is the difference between the two versions?

Hi Gregh,
I send twice for error, sorry.

Quoted 3 lines

And you have trailing whitespace in the changelog for this message, please fix.

I'll fix and send v2.

Quoted 4 lines

thanks,

greg k-h

thanks,
tommaso