public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Milind Arun Choudhary <milindchoudhary@gmail•com>
To: kernel-janitors@lists•osdl.org
Cc: linuxppc-dev@ozlabs•org, akpm@linux-foundation•org,
	paulus@samba•org, linux-kernel@vger•kernel.org
Subject: [KJ][PATCH]Unused ROUND_UP, NAME_OFFSET macro in arch/powerpc
Date: Wed, 4 Apr 2007 22:07:40 +0530	[thread overview]
Message-ID: <20070404163740.GA9830@arun.site> (raw)

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

                 reply	other threads:[~2007-04-04 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070404163740.GA9830@arun.site \
    --to=milindchoudhary@gmail$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=kernel-janitors@lists$(echo .)osdl.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox