From: Monam Agarwal Date: Sun, 2 Mar 2014 17:16:15 +0000 (+0530) Subject: Staging: ced1401: Fix removed unused structs X-Git-Tag: firefly_0821_release~176^2~4193^2~593 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b66cbef25e91128878501aa70489514b74ea6eca;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ced1401/ced_ioctl.h b/drivers/staging/ced1401/ced_ioctl.h index 50768ffec55d..fa2c7d6fe79c 100644 --- a/drivers/staging/ced1401/ced_ioctl.h +++ b/drivers/staging/ced1401/ced_ioctl.h @@ -83,12 +83,6 @@ typedef struct TCSBlock { */ #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_RESET1401 _IO(CED_MAGIC_IOC, 3)