]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/IScsiDxe/IScsiConfig.c
NetworkPkg/IScsiDxe: Remove unnecessary NULL pointer check.
authorJiaxin Wu <Jiaxin.wu@intel.com>
Wed, 16 Jan 2019 02:54:42 +0000 (10:54 +0800)
committerJiaxin Wu <Jiaxin.wu@intel.com>
Wed, 23 Jan 2019 00:46:49 +0000 (08:46 +0800)
commitaf82ca4560a5c2ef4286bad767cab3cfe7c115dd
treef2d12dd2b128470b7d9a3a38c7f70462976eba6b
parent710962016b095e49404625ef92df57cb065e8f31
NetworkPkg/IScsiDxe: Remove unnecessary NULL pointer check.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1469

Since the value of AttemptConfigData is retrieved from the list
Entry, it can't be the NULL pointer, so just remove the unnecessary
check.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Hao A <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Wu Hao A <hao.a.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/IScsiDxe/IScsiConfig.c