Skip to content

Commit

Permalink
staging: dgap: Remove version check in dgap_kcompat.h
Browse files Browse the repository at this point in the history
Code should be for the kernel version it is merged in.
Version check is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Sep 17, 2013
1 parent 63c7cc2 commit 3b33bd9
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions drivers/staging/dgap/dgap_kcompat.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
#ifndef __DGAP_KCOMPAT_H
#define __DGAP_KCOMPAT_H

# ifndef KERNEL_VERSION
# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
# endif


#if !defined(TTY_FLIPBUF_SIZE)
# define TTY_FLIPBUF_SIZE 512
#endif
Expand Down Expand Up @@ -66,28 +61,4 @@
module_param(VAR, long, PERM); \
MODULE_PARM_DESC(VAR, DESC);





#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)




/* NOTHING YET */




# else



# error "this driver does not support anything below the 2.6.27 kernel series."



# endif

#endif /* ! __DGAP_KCOMPAT_H */

0 comments on commit 3b33bd9

Please sign in to comment.