]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ufs/super.c: remove unnecessary casting
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:45:28 +0000 (13:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:51 +0000 (14:34 -0800)
commit0d95e8f646a2a33b5c444d7458f10717bf5ffff7
treef6f4be711ceffc5a0dd453b6ed4d87803301bdc8
parent326a5779054bb0aead47b6a1bc84db228a4db3e3
fs/ufs/super.c: remove unnecessary casting

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.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/super.c