i386: remove no longer needed atomic_load_ptr casts
This commit is contained in:
parent
f50a2474b7
commit
4ef55e371a
@ -976,7 +976,7 @@ trap_user_dtrace(struct trapframe *frame, int (**hookp)(struct trapframe *))
|
||||
{
|
||||
int (*hook)(struct trapframe *);
|
||||
|
||||
hook = (int (*)(struct trapframe *))atomic_load_ptr(hookp);
|
||||
hook = atomic_load_ptr(hookp);
|
||||
enable_intr();
|
||||
if (hook != NULL)
|
||||
return ((hook)(frame) == 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user