mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: lustre: ptlrpc: sec_gc: 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
c54ed23f65
commit
7f93fca90e
@@ -146,7 +146,7 @@ static void sec_do_gc(struct ptlrpc_sec *sec)
|
||||
|
||||
static int sec_gc_main(void *arg)
|
||||
{
|
||||
struct ptlrpc_thread *thread = (struct ptlrpc_thread *) arg;
|
||||
struct ptlrpc_thread *thread = arg;
|
||||
struct l_wait_info lwi;
|
||||
|
||||
unshare_fs_struct();
|
||||
|
||||
Reference in New Issue
Block a user