Reword a comment to describe what's actually going on. We can call invalidate

several times potentially. We just don't do anything on the second and
subsequent calls.
This commit is contained in:
Warner Losh 2020-03-07 00:29:12 +00:00
parent 3823a5990a
commit 6fda2c54da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358727

View File

@ -649,7 +649,7 @@ cam_periph_invalidate(struct cam_periph *periph)
cam_periph_assert(periph, MA_OWNED);
/*
* We only call this routine the first time a peripheral is
* We only tear down the device the first time a peripheral is
* invalidated.
*/
if ((periph->flags & CAM_PERIPH_INVALID) != 0)