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)
commit24c971c61335cdc5e8fbeeb9dcc2805fa327d040
tree468f6afd29c2399a1683737b477682150635a710
parent3861b724de9d7b1a7fe304eaf34531e964415e47
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