mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
staging: lustre: ptlrpc: pinger: 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:
parent
864ef621fa
commit
c54ed23f65
@ -221,7 +221,7 @@ static void ptlrpc_pinger_process_import(struct obd_import *imp,
|
||||
|
||||
static int ptlrpc_pinger_main(void *arg)
|
||||
{
|
||||
struct ptlrpc_thread *thread = (struct ptlrpc_thread *)arg;
|
||||
struct ptlrpc_thread *thread = arg;
|
||||
|
||||
/* Record that the thread is running */
|
||||
thread_set_flags(thread, SVC_RUNNING);
|
||||
|
Loading…
Reference in New Issue
Block a user