Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0cf8f04 authored by NeilBrown's avatar NeilBrown
Browse files

md: md_unregister_thread should cope with being passed NULL



Mostly md_unregister_thread is only called when we know that the
thread is NULL, but sometimes we need to check first.  It is safer
to put the check inside md_unregister_thread itself.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 91adb564
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment