[POWERPC] Clean up unused ROUND_UP, NAME_OFFSET macros in arch/powerpc
authorMilind Arun Choudhary <milindchoudhary@gmail.com>
Wed, 4 Apr 2007 16:37:40 +0000 (22:07 +0530)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 18:00:41 +0000 (04:00 +1000)
Unused ROUND_UP, NAME_OFFSET macro cleanup

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/sys_ppc32.c

index 673e8d9df7f58e0067d9eee854c5e789741d90e0..047246ad4f6559887756b780abff120c36ceb417 100644 (file)
 #include <asm/ppc-pci.h>
 #include <asm/syscalls.h>
 
-/* readdir & getdents */
-#define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de)))
-#define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1))
-
 struct old_linux_dirent32 {
        u32             d_ino;
        u32             d_offset;