staging: comedi: Cleaned a bit of code that was not required
Subsystems (2)
PATCH 1/1 staging: comedi: Cleaned a bit of code that was not required
Warning found by checkpatch.pl script.
Signed-off-by vaatsalya shrivastava <[email protected]>
--- drivers/comedi/drivers/dt2815.c | 2 +- drivers/staging/vme/devices/vme_user.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
drivers/comedi/drivers/dt2815.c +1 -1
@@ -17,7 +17,7 @@* contrary, please update. * * Configuration options: -* [0] - I/O port base base address +* [0] - I/O port base address * [1] - IRQ (unused) * [2] - Voltage unipolar/bipolar configuration * 0 == unipolar 5V (0V -- +5V)
drivers/staging/vme/devices/vme_user.h +4 -4
@@ -14,11 +14,11 @@ struct vme_master {__u32 aspace;/* Address Space */ __u32 cycle;/* Cycle properties */ __u32 dwidth;/* Maximum Data Width */ -#if 0 +char prefetchenable;/* Prefetch Read Enable State */ int prefetchsize;/* Prefetch Read Size (Cache Lines) */ char wrpostenable;/* Write Post State */ -#endif + } __packed;/*
@@ -35,11 +35,11 @@ struct vme_slave {__u64 size;/* Window Size */ __u32 aspace;/* Address Space */ __u32 cycle;/* Cycle properties */ -#if 0 +char wrpostenable;/* Write Post State */ char rmwlock;/* Lock PCI during RMW Cycles */ char data64bitcapable;/* non-VMEbus capable of 64-bit Data */ -#endif + } __packed;struct vme_irq_id {
Signature · 1 line
2.30.2
Greg KH
maintainerQuoted 1 line · vaatsalya shrivastava
Warning found by checkpatch.pl script.
Please be specific as to what you did.
Quoted 2 lines
Signed-off-by vaatsalya shrivastava <[email protected]>
"V" and "S"?
Quoted 10 lines
--- drivers/comedi/drivers/dt2815.c | 2 +- drivers/staging/vme/devices/vme_user.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)drivers/comedi/drivers/dt2815.c +0
-0
drivers/comedi/drivers/dt2815.c line 20
Quoted 5 lines
drivers/comedi/drivers/dt2815.c +1
-1@@ -17,7 +17,7 @@* contrary, please update. * * Configuration options: -* [0] - I/O port base base address +* [0] - I/O port base address
The original is correct.
drivers/staging/vme/devices/vme_user.h
Quoted 7 lines
drivers/comedi/drivers/dt2815.c +0
-0* [1] - IRQ (unused) * [2] - Voltage unipolar/bipolar configuration * 0 == unipolar 5V (0V -- +5V) drivers/staging/vme/devices/vme_user.h +0
-0
This is not a comedi driver.
drivers/staging/vme/devices/vme_user.h struct vme_master { · line 17
Quoted 6 lines
drivers/staging/vme/devices/vme_user.h +1
-1@@ -14,11 +14,11 @@ struct vme_master {__u32 aspace;/* Address Space */ __u32 cycle;/* Cycle properties */ __u32 dwidth;/* Maximum Data Width */ -#if 0 +
You can not just remove these lines, please realize what you are doing.
thanks,
greg k-h