staging: vt6655: drop off byRxMode var in device.h
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
@@ -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
Greg Kroah-Hartman
maintainerQuoted 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 byRxModeSigned-off-by Tommaso Merciai <[email protected]>--- drivers/staging/vt6655/device.h | 2 -- 1 file changed, 2 deletions(-)drivers/staging/vt6655/device.h +0
-2@@ -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
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 byRxModeSigned-off-by Tommaso Merciai <[email protected]>--- drivers/staging/vt6655/device.h | 2 -- 1 file changed, 2 deletions(-)drivers/staging/vt6655/device.h +0
-2@@ -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
-0volatile int iTDUsed[TYPE_MAXTD ];Signature · 1 line
2.25.1Did 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