]> git.baikalelectronics.ru Git - kernel.git/commit
ncpfs: remove redundant cast of struct ncp_inode_info
authorColin Ian King <colin.king@canonical.com>
Tue, 9 Jan 2018 17:06:40 +0000 (17:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 18:34:12 +0000 (19:34 +0100)
commit6e97408b8b84308d9f4a34cd30fde4ee53be0737
tree468f6afd29c2399a1683737b477682150635a710
parent14be4746598ef8e4e7497945bb64ea67946842b0
ncpfs: remove redundant cast of struct ncp_inode_info

Casting a value returned by memory an allocation function is
not required and can be removed. Also add in a newline after before
the first statement. Code clean up as suggested by coccinelle.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ncpfs/inode.c