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

Since the value retrieved from the list Entry can't be the NULL
pointer, the unnecessary check can be removed.

Cc: Ye Ting <ting...@intel.com>
Cc: Fu Siyuan <siyuan...@intel.com>
Cc: Wu Hao A <hao.a...@intel.com>
Cc: Gao Liming <liming....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wu Jiaxin <jiaxin...@intel.com

Jiaxin Wu (3):
  MdeModulePkg/Dhcp4Dxe: Remove unnecessary NULL pointer check.
  NetworkPkg/IScsiDxe: Remove unnecessary NULL pointer check.
  NetworkPkg/DnsDxe: Remove unnecessary NULL pointer check.

 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c      | 15 +++++--------
 NetworkPkg/DnsDxe/DnsDriver.c                 | 22 ++++++++-----------
 NetworkPkg/IScsiDxe/IScsiConfig.c             |  6 +----
 3 files changed, 16 insertions(+), 27 deletions(-)

-- 
2.17.1.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to