]> Pileus Git - ~andy/linux/blobdiff - drivers/media/video/usbvideo/vicam.c
Add macros similar to min/max/min_t/max_t
[~andy/linux] / drivers / media / video / usbvideo / vicam.c
index 64819353276a6a2f2540175625ab0bf42e4fac23..17f542dfb366c6588aeba260f4ce3b599405d6d9 100644 (file)
 
 #define VICAM_HEADER_SIZE       64
 
-#define clamp( x, l, h )        max_t( __typeof__( x ),         \
-                                      ( l ),                   \
-                                      min_t( __typeof__( x ),  \
-                                             ( h ),            \
-                                             ( x ) ) )
-
 /* Not sure what all the bytes in these char
  * arrays do, but they're necessary to make
  * the camera work.