All of lore.kernel.org
 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; 3+ messages 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] 3+ messages in thread

* [KJ][PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc
@ 2007-04-04 16:37 ` Milind Arun Choudhary
  0 siblings, 0 replies; 3+ messages in thread
From: Milind Arun Choudhary @ 2007-04-04 16:37 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-kernel, akpm, linuxppc-dev, paulus

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] 3+ messages in thread

* [KJ] [PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc
@ 2007-04-04 16:37 ` Milind Arun Choudhary
  0 siblings, 0 replies; 3+ messages in thread
From: Milind Arun Choudhary @ 2007-04-04 16:49 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
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-04 16:49 UTC | newest]

Thread overview: 3+ messages (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
2007-04-04 16:49 ` [KJ] [PATCH]Unused " Milind Arun Choudhary
2007-04-04 16:37 ` [KJ][PATCH]Unused " Milind Arun Choudhary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.