aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-17 03:43:55 +0400
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-23 13:27:50 +0400
commit5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435 (patch)
tree4655120e76654512a1229bb4af0a41fb55c23663 /fs/proc/internal.h
parent7c88db0cb589df980acfb2f73c3595a0653004ec (diff)
downloadkernel_samsung_smdk4412-5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435.zip
kernel_samsung_smdk4412-5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435.tar.gz
kernel_samsung_smdk4412-5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435.tar.bz2
proc: proc_init_inodecache() can't fail
kmem_cache creation code will panic, don't return anything. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 3bfb7b8..d5bf4de 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -66,7 +66,7 @@ extern const struct inode_operations proc_net_inode_operations;
void free_proc_entry(struct proc_dir_entry *de);
-int proc_init_inodecache(void);
+void proc_init_inodecache(void);
static inline struct pid *proc_pid(struct inode *inode)
{