]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't do the busy dance in icee_open/close
authorWarner Losh <imp@FreeBSD.org>
Mon, 14 Sep 2020 23:30:04 +0000 (23:30 +0000)
committerWarner Losh <imp@FreeBSD.org>
Mon, 14 Sep 2020 23:30:04 +0000 (23:30 +0000)
commit44a815367202751c09a837b6c69739d73d7f9980
tree8669c13cb81e9f9222e13e8cf6b8c9b27656c288
parent45472826b984b90d33afdcf671f173d2d9cc1d2a
Don't do the busy dance in icee_open/close

We don't need to do the busy dance for this driver. It's handled by
destroy_dev() entirely. Since all we did was busy/unbusy in
open/close, just delete them. We therefore don't need to track closes
either.

Reviewed by: ian@
Differential Revision: https://reviews.freebsd.org/D26431
sys/dev/iicbus/icee.c