From: Christoph Hellwig Date: Sun, 8 Jan 2006 09:02:33 +0000 (-0800) Subject: [PATCH] udf: remove bogus inode == NULL check in inode_bmap X-Git-Tag: v2.6.16-rc1~782 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b8b0af24353eafadf58a0889999700e43f135aad;p=linux-2.6-omap-h63xx.git [PATCH] udf: remove bogus inode == NULL check in inode_bmap inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 4014f17d382..395e582ee54 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;