Use a separate function to remove the buffers in sddetach. No functional change.
Use a separate function to remove the buffers in sddetach.
No functional change.

ok krw

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars