summaryrefslogtreecommitdiffstats
path: root/include/linux/cramfs_fs.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-09-29 11:01:05 +0200
committerLinus Torvalds2006-09-29 18:18:20 +0200
commit368bdb3d616fa352971f45b423ae6344715e620b (patch)
treedcb02bd584d5d23c12393726f91694b1fc03ccc1 /include/linux/cramfs_fs.h
parent[PATCH] freevxfs: fix leak on error path (diff)
downloadkernel-qcow2-linux-368bdb3d616fa352971f45b423ae6344715e620b.tar.gz
kernel-qcow2-linux-368bdb3d616fa352971f45b423ae6344715e620b.tar.xz
kernel-qcow2-linux-368bdb3d616fa352971f45b423ae6344715e620b.zip
[PATCH] cramfs: make cramfs_uncompress_exit() return void
It always returns 0, so relying on it is useless. The only caller isn't checking return value. In general, un-, de-, -free functions should return void. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/cramfs_fs.h')
-rw-r--r--include/linux/cramfs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cramfs_fs.h b/include/linux/cramfs_fs.h
index a41f38428c37..1dba681e428d 100644
--- a/include/linux/cramfs_fs.h
+++ b/include/linux/cramfs_fs.h
@@ -87,6 +87,6 @@ struct cramfs_super {
/* Uncompression interfaces to the underlying zlib */
int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
int cramfs_uncompress_init(void);
-int cramfs_uncompress_exit(void);
+void cramfs_uncompress_exit(void);
#endif