diff options
author | mav <mav@FreeBSD.org> | 2012-10-10 22:02:11 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-10-10 22:02:11 +0000 |
commit | 37cc4ef7d0d99e89c7bf7e8385abf7b65d45e4dd (patch) | |
tree | ef65a2e2b51935f3508611aba5c8a01400af5515 /lib | |
parent | d70da7871e344113b02a133e6d6d93169beb896f (diff) | |
download | FreeBSD-src-37cc4ef7d0d99e89c7bf7e8385abf7b65d45e4dd.zip FreeBSD-src-37cc4ef7d0d99e89c7bf7e8385abf7b65d45e4dd.tar.gz |
- Remove ancient checks for sim->softc == NULL. It can't be NULL, as it is
set not-NULL during SIM registration and set to UMASS_GONE on destruction.
Debug messages there look broken for at least 9 years, as they dereference
softc value that was just checked to be equal to NULL.
- Remove magic pointer value UMASS_GONE and use simple NULL instead.
Found by: Clang Static Analyzer
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions