]> git.baikalelectronics.ru Git - kernel.git/commit
fs/befs/linuxvfs.c: remove unnecessary casting
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:45:23 +0000 (13:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:50 +0000 (14:34 -0800)
commit0f116c47ecded6af3477be6d04e034f1b89a6bf5
tree99ff305d515124d34b1ee34fce5615a1dd38f92a
parentffc3f678c968cded037a4e6a7c15a14e3244755b
fs/befs/linuxvfs.c: remove unnecessary casting

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.

[akpm@linux-foundation.org: avoid 80-col ugliness]
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/befs/linuxvfs.c