diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-09-29 02:01:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:20 -0700 |
commit | 368bdb3d616fa352971f45b423ae6344715e620b (patch) | |
tree | dcb02bd584d5d23c12393726f91694b1fc03ccc1 /fs/cramfs/uncompress.c | |
parent | a4376e13ce07774be14e83fe501ef5c8500b83a1 (diff) | |
download | kernel_samsung_espresso10-368bdb3d616fa352971f45b423ae6344715e620b.zip kernel_samsung_espresso10-368bdb3d616fa352971f45b423ae6344715e620b.tar.gz kernel_samsung_espresso10-368bdb3d616fa352971f45b423ae6344715e620b.tar.bz2 |
[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 'fs/cramfs/uncompress.c')
-rw-r--r-- | fs/cramfs/uncompress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/uncompress.c index 8def89f..fc3ccb7 100644 --- a/fs/cramfs/uncompress.c +++ b/fs/cramfs/uncompress.c @@ -68,11 +68,10 @@ int cramfs_uncompress_init(void) return 0; } -int cramfs_uncompress_exit(void) +void cramfs_uncompress_exit(void) { if (!--initialized) { zlib_inflateEnd(&stream); vfree(stream.workspace); } - return 0; } |