Staging: ced1401: Fix removed unused structs
This patch removes an unused struct while at the same time removing checkpatch.pl warning WARNING: Avoid use of typedef Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e68f33b881
commit
b66cbef25e
|
@ -83,12 +83,6 @@ typedef struct TCSBlock {
|
||||||
*/
|
*/
|
||||||
#define CED_MAGIC_IOC 0xce
|
#define CED_MAGIC_IOC 0xce
|
||||||
|
|
||||||
/* NBNB: READ and WRITE are from the point of view of the device, not user. */
|
|
||||||
typedef struct ced_ioc_string {
|
|
||||||
int nChars;
|
|
||||||
char buffer[256];
|
|
||||||
} CED_IOC_STRING;
|
|
||||||
|
|
||||||
#define IOCTL_CED_SENDSTRING(n) _IOC(_IOC_WRITE, CED_MAGIC_IOC, 2, n)
|
#define IOCTL_CED_SENDSTRING(n) _IOC(_IOC_WRITE, CED_MAGIC_IOC, 2, n)
|
||||||
|
|
||||||
#define IOCTL_CED_RESET1401 _IO(CED_MAGIC_IOC, 3)
|
#define IOCTL_CED_RESET1401 _IO(CED_MAGIC_IOC, 3)
|
||||||
|
|
Loading…
Reference in New Issue