瀏覽代碼

[XFS] Remove a couple of no-longer-used macros.

SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26339a

Signed-off-by: Nathan Scott <nathans@sgi.com>
Nathan Scott 19 年之前
父節點
當前提交
ebe1090549
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/xfs/linux-2.6/xfs_linux.h

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

@@ -140,9 +140,7 @@ BUFFER_FNS(PrivateStart, unwritten);
 #define current_pid()		(current->pid)
 #define current_fsuid(cred)	(current->fsuid)
 #define current_fsgid(cred)	(current->fsgid)
-#define current_set_flags(f)	(current->flags |= (f))
 #define current_test_flags(f)	(current->flags & (f))
-#define current_clear_flags(f)	(current->flags & ~(f))
 #define current_set_flags_nested(sp, f)		\
 		(*(sp) = current->flags, current->flags |= (f))
 #define current_clear_flags_nested(sp, f)	\