From 6fda2c54da8409ccb35bdd0b2661c72dc2920a68 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 7 Mar 2020 00:29:12 +0000 Subject: [PATCH] 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. --- sys/cam/cam_periph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 7d8f671eecd3..c671b9c75bae 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -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)