mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
[POWERPC] Clean up unused ROUND_UP, NAME_OFFSET macros in arch/powerpc
Unused ROUND_UP, NAME_OFFSET macro cleanup Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
e48059225c
commit
06533e28c9
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user