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:
imp 2020-03-07 00:29:12 +00:00
parent 137e6ff286
commit 052e98d2a3

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)