]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove two unnecessary casts that prevented compilation on Linux 2.2.
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 30 Jul 2002 08:04:39 +0000 (08:04 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Tue, 30 Jul 2002 08:04:39 +0000 (08:04 +0000)
(cherry picked from commit e9a6a539449ff3144169aa8ca5fc38bab613ab53)

src/rx/LINUX/rx_kmutex.h

index 34ab41c31473777cff80d3cdd74e8038188e6d40..3d09fc6ea8c04bffe9a3c17121b2af1a3fd2cf12 100644 (file)
@@ -113,7 +113,7 @@ static inline int CV_WAIT(afs_kcondvar_t *cv, afs_kmutex_t *l)
     struct wait_queue wait = { current, NULL };
 #endif
  
-    add_wait_queue((wait_queue_head_t *)cv, &wait);
+    add_wait_queue(cv, &wait);
     set_current_state(TASK_INTERRUPTIBLE);
 
     if (isAFSGlocked) AFS_GUNLOCK();
@@ -150,7 +150,7 @@ static inline int CV_TIMEDWAIT(afs_kcondvar_t *cv, afs_kmutex_t *l, int waittime
     struct wait_queue wait = { current, NULL };
 #endif
  
-    add_wait_queue((wait_queue_head_t *)cv, &wait);
+    add_wait_queue(cv, &wait);
     set_current_state(TASK_INTERRUPTIBLE);
 
     if (isAFSGlocked) AFS_GUNLOCK();