projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e480592
)
[POWERPC] Clean up unused ROUND_UP, NAME_OFFSET macros in arch/powerpc
author
Milind Arun Choudhary
<milindchoudhary@gmail.com>
Wed, 4 Apr 2007 16:37:40 +0000
(22:07 +0530)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/sys_ppc32.c
b/arch/powerpc/kernel/sys_ppc32.c
index 673e8d9df7f58e0067d9eee854c5e789741d90e0..047246ad4f6559887756b780abff120c36ceb417 100644
(file)
--- a/
arch/powerpc/kernel/sys_ppc32.c
+++ b/
arch/powerpc/kernel/sys_ppc32.c
@@
-53,10
+53,6
@@
#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;