Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Milton Miller <miltonm@bga.com>
Signed-off-by: Jack 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jack Miller and committed by
Linus Torvalds
2f137d66 83293c0f

+1 -1
+1 -1
include/linux/shm.h
··· 52 52 53 53 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, 54 54 unsigned long shmlba); 55 - extern int is_file_shm_hugepages(struct file *file); 55 + int is_file_shm_hugepages(struct file *file); 56 56 void exit_shm(struct task_struct *task); 57 57 #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist) 58 58 #else