[PATCH 1/1] fs/befs/linuxvfs.c: remove unnecessary casting

2014-12-28 Thread Fabian Frederick
Fix the following coccinelle warning: fs/befs/linuxvfs.c:278:14-36: WARNING: casting value returned by memory allocation function to (struct befs_inode_info *) is useless. Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/befs/linuxvfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH 1/1] fs/befs/linuxvfs.c: remove unnecessary casting

2014-12-28 Thread Fabian Frederick
Fix the following coccinelle warning: fs/befs/linuxvfs.c:278:14-36: WARNING: casting value returned by memory allocation function to (struct befs_inode_info *) is useless. Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/befs/linuxvfs.c | 5 ++---