mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04: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:
committed by
Michael Ellerman
parent
7641c1bafa
commit
634a0b8fb8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user