diff options
author | glebius <glebius@FreeBSD.org> | 2015-06-16 15:39:34 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-06-16 15:39:34 +0000 |
commit | 7d5e1ad3e88190bc48b24feb03fbf55bc12b9226 (patch) | |
tree | dddcff074a8b19be5e588da20c166fd58f9c3888 /sys/dev/atkbdc/psm.c | |
parent | 8d87c9880183db30384071342ca34f9293182936 (diff) | |
download | FreeBSD-src-7d5e1ad3e88190bc48b24feb03fbf55bc12b9226.zip FreeBSD-src-7d5e1ad3e88190bc48b24feb03fbf55bc12b9226.tar.gz |
Fix miss from r284320.
Coverity: 1018895
Diffstat (limited to 'sys/dev/atkbdc/psm.c')
-rw-r--r-- | sys/dev/atkbdc/psm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 7ef32a4..a82a767 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -5102,7 +5102,7 @@ enable_trackpoint(struct psm_softc *sc, enum probearg arg) id = read_aux_data(kbdc); if (id < 0x01) return (FALSE); - if (sc != NULL) + if (arg == PROBE) sc->tphw = id; if (!trackpoint_support) return (FALSE); |