Commit 12e643a7 authored by Jinyang He's avatar Jinyang He Committed by Simon Horman
Browse files

kexec-tools: Check callback first in kexec_iomem_for_each_line()



In the function kexec_iomem_for_each_line(), it is better to
check the callback first, it can return directly if the callback
is NULL.

Signed-off-by: default avatarJinyang He <hejinyang@loongson.cn>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 7a576da1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment