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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to