staging: vt6655: drop off byRxMode var in device.h
PATCH v2 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
---
Changes since v1:
- Remove trailing whitespace in changelog as suggested by gregkh
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 5 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
No need to line-wrap this.
But this "problem" is not the real thing you are fixing. The real thing is the issue that this variable is not needed at all. Just say that, no need to justify it with a checkpatch warning, right?
thanks,
greg k-h
Quoted 7 lines · Greg Kroah-Hartman
Quoted 5 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
Quoted 5 lines
No need to line-wrap this.
But this "problem" is not the real thing you are fixing. The real thing is the issue that this variable is not needed at all. Just say that, no need to justify it with a checkpatch warning, right?
Hi Greg,
Thanks for review. I'll fix commit body and resend in v3.
thanks,
tommaso
Quoted 4 lines
thanks,
greg k-h