From: Lidza Louina Date: Fri, 17 Jan 2014 16:01:36 +0000 (-0500) Subject: staging: dgap: removes KERNEL_VERSION conditionals X-Git-Tag: v3.15-rc1~139^2~1244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60914a1ad338922e1038a51b613916a7cbc21cb1;p=pandora-kernel.git staging: dgap: removes KERNEL_VERSION conditionals 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap_driver.h b/drivers/staging/dgap/dgap_driver.h index 48d2815520f5..f0f0430f9206 100644 --- a/drivers/staging/dgap/dgap_driver.h +++ b/drivers/staging/dgap/dgap_driver.h @@ -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 */ Reading git-diff-tree failed