Commit 06533e28 authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Paul Mackerras

[POWERPC] Clean up unused ROUND_UP, NAME_OFFSET macros in arch/powerpc

Unused ROUND_UP, NAME_OFFSET macro cleanup
Signed-off-by: default avatarMilind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e4805922
...@@ -53,10 +53,6 @@ ...@@ -53,10 +53,6 @@
#include <asm/ppc-pci.h> #include <asm/ppc-pci.h>
#include <asm/syscalls.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 { struct old_linux_dirent32 {
u32 d_ino; u32 d_ino;
u32 d_offset; u32 d_offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment