diff options
author | Christoph Hellwig <hch@lst.de> | 2006-01-08 01:02:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 20:13:51 -0800 |
commit | b8b0af24353eafadf58a0889999700e43f135aad (patch) | |
tree | e3ee61aaf3326f9e096b16a144d53d7b4708e4e3 /fs | |
parent | 6b9c7ed84837753a436415097063232422e29a35 (diff) | |
download | op-kernel-dev-b8b0af24353eafadf58a0889999700e43f135aad.zip op-kernel-dev-b8b0af24353eafadf58a0889999700e43f135aad.tar.gz |
[PATCH] udf: remove bogus inode == NULL check in inode_bmap
inode can never be NULL when calling this function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/udf/inode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 4014f17..395e582 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -1957,11 +1957,6 @@ int8_t inode_bmap(struct inode *inode, int block, kernel_lb_addr *bloc, uint32_t printk(KERN_ERR "udf: inode_bmap: block < 0\n"); return -1; } - if (!inode) - { - printk(KERN_ERR "udf: inode_bmap: NULL inode\n"); - return -1; - } *extoffset = 0; *elen = 0; |