Skip to content
Snippets Groups Projects
Commit c814bf95 authored by ye xingchen's avatar ye xingchen Committed by Michael Ellerman
Browse files

powerpc/selftests: Use timersub() for gettimeofday()


Use timersub() function to simplify the code.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220816105106.82666-1-ye.xingchen@zte.com.cn
parent 1c23f9e6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment