staging/easycap: remove unused macro MICROSECONDS
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 7 Jul 2011 17:45:45 +0000 (20:45 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:02:25 +0000 (14:02 -0700)
Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap.h

index bd3f7c7..7b71244 100644 (file)
@@ -596,10 +596,6 @@ extern int easycap_debug;
 #define JOM(n, format, args...) do {} while (0)
 #endif /* CONFIG_EASYCAP_DEBUG */
 
-#define MICROSECONDS(X, Y) \
-                       ((1000000*((long long int)(X.tv_sec - Y.tv_sec))) + \
-                                       (long long int)(X.tv_usec - Y.tv_usec))
-
 /*---------------------------------------------------------------------------*/
 /*
  *  (unsigned char *)P           pointer to next byte pair