Staging: ced1401: Fix removed unused structs
authorMonam Agarwal <monamagarwal123@gmail.com>
Sun, 2 Mar 2014 17:16:15 +0000 (22:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:39:56 +0000 (13:39 -0800)
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>
drivers/staging/ced1401/ced_ioctl.h

index 50768ffec55d40fe52c2e629f71036919903fd6b..fa2c7d6fe79c0c1905d1769ccda95b86d1d684a2 100644 (file)
@@ -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)