Browse Source

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>
Monam Agarwal 11 years ago
parent
commit
b66cbef25e
1 changed files with 0 additions and 6 deletions
  1. 0 6
      drivers/staging/ced1401/ced_ioctl.h

+ 0 - 6
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)