s3: remove TspecDiff macro, we can use the shared nsec_time_diff function
authorBjörn Jacke <bj@sernet.de>
Thu, 16 Sep 2010 17:45:43 +0000 (19:45 +0200)
committerBjörn Jacke <bj@sernet.de>
Thu, 16 Sep 2010 19:38:20 +0000 (21:38 +0200)
source3/include/smb_macros.h

index e72f2aab68c02a392be26d65fd31aa3e0adfdc9d..757c8a2c1e70a12e5494eb2e351ee3626aacb66f 100644 (file)
@@ -153,15 +153,6 @@ values
   (((tvalnew)->tv_sec - (tvalold)->tv_sec)*1000 +  \
         ((int)(tvalnew)->tv_usec - (int)(tvalold)->tv_usec)/1000)
 
-/*******************************************************************
-find the difference in milliseconds between two struct timespec
-values
-********************************************************************/
-
-#define TspecDiff(tvalold,tvalnew) \
-  (((tvalnew)->tv_sec - (tvalold)->tv_sec)*1000 +  \
-        ((int)(tvalnew)->tv_nsec - (int)(tvalold)->tv_nsec)/1000000)
-
 /****************************************************************************
 true if two IPv4 addresses are equal
 ****************************************************************************/