]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Staging: ced1401: Patch removes unused typedefs.
authorElena Ufimtseva <ufimtseva@gmail.com>
Thu, 16 May 2013 16:47:07 +0000 (12:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:34:22 +0000 (16:34 -0700)
Patch removes unused typedefs BOOLEAN, *LPCSTR, *LPCSTR, UCHAR, *LPBYTE.

Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/machine.h

index 7e3ee76a92ca80602109b706ca07dd878834515d..dbd4036d9bdddda07d8d0d97a9c0559d4f8e022d 100644 (file)
        #define FAR
 
        typedef int BOOL;       /*  To match Windows */
-       typedef char *LPSTR;
-       typedef const char *LPCSTR;
        typedef unsigned char  BYTE;
-       typedef BYTE  BOOLEAN;
-       typedef unsigned char UCHAR;
        #define __packed __attribute__((packed))
-       typedef BYTE *LPBYTE;
        #define HIWORD(x) (unsigned short)(((x)>>16) & 0xffff)
        #define LOWORD(x) (unsigned short)((x) & 0xffff)
 #endif