Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

From: Al Viro
Date: Sun Dec 28 2014 - 10:33:17 EST

On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote:
> Fix the following coccinelle warning:
> fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory
> allocation function to (struct ufs_inode_info *) is useless.

... except that it makes allocations harder to grep for. IOW, it's not
obviously an improvement and should be up to maintainer of the code in
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at