[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 4 Apr 2007 22:07:40 +0530
From: Milind Arun Choudhary <milindchoudhary@...il.com>
To: kernel-janitors@...ts.osdl.org
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
linuxppc-dev@...abs.org, paulus@...ba.org
Subject: [KJ][PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc
Unused ROUND_UP, NAME_OFFSET macro cleanup
Signed-off-by: Milind Arun Choudhary <milindchoudhary@...il.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists