Move duplicate code to new sr_find_discipline() helper
authorkn <kn@openbsd.org>
Wed, 21 Dec 2022 09:54:23 +0000 (09:54 +0000)
committerkn <kn@openbsd.org>
Wed, 21 Dec 2022 09:54:23 +0000 (09:54 +0000)
commitf7f48e9f9c54e3c759497ae9652818bab28a5114
tree6036b330f76a4ab983c5db757f39020d9f19b275
parentbcc2e3d7508b5e9be73e81bd83a4cbe5e750bd95
Move duplicate code to new sr_find_discipline() helper

OK miod
sys/dev/softraid.c