diff options
author | Alexander Motin <mav@FreeBSD.org> | 2012-10-10 22:02:11 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2012-10-10 22:02:11 +0000 |
commit | 72acfaabbf204daea594504588cda2f7ce14f71f (patch) | |
tree | ef65a2e2b51935f3508611aba5c8a01400af5515 /sys/dev/drm/radeon_microcode.h | |
parent | e3e901934e0fc009db783f9b28febe54d8309e84 (diff) | |
download | src-72acfaabbf204daea594504588cda2f7ce14f71f.tar.gz src-72acfaabbf204daea594504588cda2f7ce14f71f.zip |
- 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
Notes
Notes:
svn path=/head/; revision=241432
Diffstat (limited to 'sys/dev/drm/radeon_microcode.h')
0 files changed, 0 insertions, 0 deletions