svn commit: r295942 - head/sys/x86/isa
Jung-uk Kim
jkim at FreeBSD.org
Tue Feb 23 23:57:25 UTC 2016
Author: jkim
Date: Tue Feb 23 23:57:24 2016
New Revision: 295942
URL: https://svnweb.freebsd.org/changeset/base/295942
Log:
Silence PVS-Studio warning (V595). It can never be NULL here.
Modified:
head/sys/x86/isa/clock.c
Modified: head/sys/x86/isa/clock.c
==============================================================================
--- head/sys/x86/isa/clock.c Tue Feb 23 23:37:10 2016 (r295941)
+++ head/sys/x86/isa/clock.c Tue Feb 23 23:57:24 2016 (r295942)
@@ -166,7 +166,7 @@ clkintr(void *arg)
mtx_unlock_spin(&clock_lock);
}
- if (sc && sc->et.et_active && sc->mode != MODE_STOP)
+ if (sc->et.et_active && sc->mode != MODE_STOP)
sc->et.et_event_cb(&sc->et, sc->et.et_arg);
#ifdef DEV_MCA
More information about the svn-src-all
mailing list