mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 05:07:46 -04:00
staging: lustre: llite: Remove useless cast on void pointer
The semantic patch used to find this is: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7ee8291a26
commit
3e127cbb06
@@ -78,8 +78,7 @@ void get_uuid2fsid(const char *name, int len, __kernel_fsid_t *fsid)
|
||||
|
||||
static int ll_nfs_test_inode(struct inode *inode, void *opaque)
|
||||
{
|
||||
return lu_fid_eq(&ll_i2info(inode)->lli_fid,
|
||||
(struct lu_fid *)opaque);
|
||||
return lu_fid_eq(&ll_i2info(inode)->lli_fid, opaque);
|
||||
}
|
||||
|
||||
struct inode *search_inode_for_lustre(struct super_block *sb,
|
||||
|
||||
Reference in New Issue
Block a user