vol-osi-assert-20080401
[openafs.git] / src / vol / salvsync-server.c
index b28a42f..cfcabf5 100644 (file)
@@ -74,11 +74,6 @@ RCSID
 
 /*@printflike@*/ extern void Log(const char *format, ...);
 
-#ifdef osi_Assert
-#undef osi_Assert
-#endif
-#define osi_Assert(e) (void)(e)
-
 #define MAXHANDLERS    4       /* Up to 4 clients; must be at least 2, so that
                                 * move = dump+restore can run on single server */
 
@@ -317,13 +312,6 @@ SALVSYNC_syncThread(void * args)
     (void)signal(SIGPIPE, SIG_IGN);
 #endif
 
-    /* set our 'thread-id' so that the host hold table works */
-    MUTEX_ENTER(&rx_stats_mutex);      /* protects rxi_pthread_hinum */
-    tid = ++rxi_pthread_hinum;
-    MUTEX_EXIT(&rx_stats_mutex);
-    pthread_setspecific(rx_thread_id_key, (void *)tid);
-    Log("Set thread id %d for SALVSYNC_syncThread\n", tid);
-
     state->fd = SYNC_getSock(&state->endpoint);
     code = SYNC_bindSock(state);
     assert(!code);