mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
powerpc/pseries/dlpar: Remove unnecessary cast to kfree()
Remove unnecassary cast in the argument to kfree(). Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200708072228.30776-1-vulab@iscas.ac.cn
This commit is contained in:
parent
7641c1bafa
commit
634a0b8fb8
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ static void pseries_hp_work_fn(struct work_struct *work)
|
|||
handle_dlpar_errorlog(hp_work->errlog);
|
||||
|
||||
kfree(hp_work->errlog);
|
||||
kfree((void *)work);
|
||||
kfree(work);
|
||||
}
|
||||
|
||||
void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog)
|
||||
|
|
Loading…
Reference in a new issue