From b836edd8b83d09a6cb2fc265903306bdc2636d5e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 5 Dec 2017 23:02:31 +0000 Subject: [PATCH] Remove stray cam_periph_async call. It's called twice this way. While currently harmless for AC_UNIT_ATTENTION event (cam_periph_async does nothing with them), it's still in error because if it were to start in the future, it would be done twice. Sponsored by: Netflix --- sys/cam/scsi/scsi_da.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 2b10dd6bc127..939b890ce37e 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -1919,7 +1919,6 @@ daasync(void *callback_arg, u_int32_t code, dareprobe(periph); } } - cam_periph_async(periph, code, path, arg); break; } case AC_SCSI_AEN: