On Wed, 22 Feb 2017 17:34:13 +1100
"Tobin C. Harding" wrote:
> Coccinelle emits WARNING: casting value returned by memory allocation
> function to (struct v9fs_inode *) is useless.
>
> Remove unnecessary cast.
>
> Signed-off-by: Tobin C. Harding
> ---
Reviewed-by: Greg Kurz
> fs/9p/vfs_ino
Coccinelle emits WARNING: casting value returned by memory allocation
function to (struct v9fs_inode *) is useless.
Remove unnecessary cast.
Signed-off-by: Tobin C. Harding
---
fs/9p/vfs_inode.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_
2 matches
Mail list logo