瀏覽代碼

[XFS] Collapse sv_init and init_sv into just the one interface.

SGI-PV: 907752
SGI-Modid: xfs-linux-melb:xfs-kern:26925a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Eric Sandeen 18 年之前
父節點
當前提交
01106eae97
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/xfs/linux-2.6/sv.h

+ 0 - 2
fs/xfs/linux-2.6/sv.h

@@ -53,8 +53,6 @@ static inline void _sv_wait(sv_t *sv, spinlock_t *lock, int state,
 	remove_wait_queue(&sv->waiters, &wait);
 }
 
-#define init_sv(sv,type,name,flag) \
-	init_waitqueue_head(&(sv)->waiters)
 #define sv_init(sv,flag,name) \
 	init_waitqueue_head(&(sv)->waiters)
 #define sv_destroy(sv) \