瀏覽代碼

Staging: ced1401: Fix do not add new typedefs

This patch fixes the following checkpatch.pl issues in ced_ioctl.h
WARNING: do not add new typedefs

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Monam Agarwal 11 年之前
父節點
當前提交
e68f33b881
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      drivers/staging/ced1401/ced_ioctl.h

+ 1 - 3
drivers/staging/ced1401/ced_ioctl.h

@@ -26,12 +26,10 @@
 ** TypeDefs
 *****************************************************************************/
 
-typedef unsigned short TBLOCKENTRY;	/* index the blk transfer table 0-7 */
-
 typedef struct TransferDesc {
 	long long lpvBuff;	/* address of transfer area (for 64 or 32 bit) */
 	unsigned int dwLength;	/* length of the area */
-	TBLOCKENTRY wAreaNum;	/* number of transfer area to set up */
+	unsigned short wAreaNum;	/* number of transfer area to set up */
 	short eSize;		/* element size - is tohost flag for circular */
 } TRANSFERDESC;