Commit 2f137d66 authored by Jack Miller's avatar Jack Miller Committed by Linus Torvalds

shm: remove unneeded extern for function

A small cleanup while changing adjacent code.  Extern is not needed for
functions and only one declaration had it so remove it from the odd line.
Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarJack Miller <millerjo@us.ibm.com>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 83293c0f
...@@ -52,7 +52,7 @@ struct sysv_shm { ...@@ -52,7 +52,7 @@ struct sysv_shm {
long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr,
unsigned long shmlba); unsigned long shmlba);
extern int is_file_shm_hugepages(struct file *file); int is_file_shm_hugepages(struct file *file);
void exit_shm(struct task_struct *task); void exit_shm(struct task_struct *task);
#define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist) #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist)
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment