arm64: armv8_deprecated: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> Link: https://lore.kernel.org/r/20230303025047.19717-1-yuzhe@nfschina.com Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
d2c48b2387
commit
0e2cb49ef1
|
@ -420,14 +420,14 @@ static DEFINE_MUTEX(insn_emulation_mutex);
|
|||
|
||||
static void enable_insn_hw_mode(void *data)
|
||||
{
|
||||
struct insn_emulation *insn = (struct insn_emulation *)data;
|
||||
struct insn_emulation *insn = data;
|
||||
if (insn->set_hw_mode)
|
||||
insn->set_hw_mode(true);
|
||||
}
|
||||
|
||||
static void disable_insn_hw_mode(void *data)
|
||||
{
|
||||
struct insn_emulation *insn = (struct insn_emulation *)data;
|
||||
struct insn_emulation *insn = data;
|
||||
if (insn->set_hw_mode)
|
||||
insn->set_hw_mode(false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue