]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r344473:
authordab <dab@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Feb 2019 22:29:37 +0000 (22:29 +0000)
committerdab <dab@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Feb 2019 22:29:37 +0000 (22:29 +0000)
commit5627c56f9a8185968159ad6b421668d2cc228e0a
treeeba3337b8be7189c24f8a37c1b0a0a4fb516990f
parentff0b9e84303a313ca1c55fe24ce5c7dcaead7e64
MFC r344473:

CID 1332000: Logically dead code in sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdio.c

A pointer is first tested for NULL. If non-NULL, another pointer is
set equal to the first. The second pointer is then checked for NULL
and an error path taken if so. This second test and the associated
path is dead code as the pointer value, having just been checked for
NULL, cannot be NULL at this point. Remove the dead code.

Sponsored by: Dell EMC Isilon

git-svn-id: svn://svn.freebsd.org/base/stable/10@344646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdio.c