staging: dgap: removes KERNEL_VERSION conditionals
authorLidza Louina <Lidza.Louina@gmail.com>
Fri, 17 Jan 2014 16:01:36 +0000 (11:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:05:00 +0000 (10:05 -0800)
This patch removes the KERNEL_VERSION conditionals.
The driver is built for this kernel version, so the
conditionals are not needed.

Signed-off-by: Lidza Louina <Lidza.Louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.h
drivers/staging/dgap/dgap_fep5.c
drivers/staging/dgap/dgap_tty.c

index 48d2815..f0f0430 100644 (file)
@@ -396,10 +396,6 @@ struct board_t
        u32             dgap_Serial_Major;
        u32             dgap_TransparentPrint_Major;
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
-       u32             TtyRefCnt;
-#endif
-
        struct bs_t     *bd_bs;                 /* Base structure pointer       */
 
        char    *flipbuf;               /* Our flip buffer, alloced if board is found */
Simple merge
Simple merge