linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [KJ][PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc
@ 2007-04-04 16:37 Milind Arun Choudhary
  0 siblings, 0 replies; only message in thread
From: Milind Arun Choudhary @ 2007-04-04 16:37 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linuxppc-dev, akpm, paulus, linux-kernel

Unused ROUND_UP, NAME_OFFSET  macro cleanup

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>

---
 sys_ppc32.c |    4 ----
 1 files changed, 4 deletions(-)


diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index 673e8d9..047246a 100644
--- 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;
-- 
Milind Arun Choudhary

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-04 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 16:37 [KJ][PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc Milind Arun Choudhary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).