Re: tidy up get_hibernate_io_function

2018-02-10 Thread Mike Larkin
On Sat, Feb 10, 2018 at 02:51:55PM +1000, Jonathan Matthew wrote: > It's hard to see exactly what the dv->dv_parent->etc. checks are doing. > Before adding sdmmc I'd like to tidy up a bit. > > ok? > Reads ok to me, and thanks for the cleanup. ok mlarkin if you didn't already commit this. > Inde

tidy up get_hibernate_io_function

2018-02-09 Thread Jonathan Matthew
It's hard to see exactly what the dv->dv_parent->etc. checks are doing. Before adding sdmmc I'd like to tidy up a bit. ok? Index: arch/amd64/amd64/hibernate_machdep.c === RCS file: /cvs/src/sys/arch/amd64/amd64/hibernate_machdep.c,v