public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Remove unnecessary NULL pointer check.
@ 2019-01-18  7:17 Jiaxin Wu
  2019-01-18  7:17 ` [PATCH v3 1/3] MdeModulePkg/Dhcp4Dxe: " Jiaxin Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jiaxin Wu @ 2019-01-18  7:17 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ye Ting, Fu Siyuan, Wu Hao A, Gao Liming, Wu

v3: Updated the first patch to check the instance token.

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.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Hao A <hao.a.wu@intel.com>
Cc: Gao Liming <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wu Jiaxin <jiaxin.wu@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      | 11 ++++------
 NetworkPkg/DnsDxe/DnsDriver.c                          | 22 ++++++++-----------
 NetworkPkg/IScsiDxe/IScsiConfig.c                      |  6 +----
 3 files changed, 14 insertions(+), 25 deletions(-)

-- 
2.17.1.windows.2



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-22  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-18  7:17 [PATCH v3 0/3] Remove unnecessary NULL pointer check Jiaxin Wu
2019-01-18  7:17 ` [PATCH v3 1/3] MdeModulePkg/Dhcp4Dxe: " Jiaxin Wu
2019-01-18  7:17 ` [PATCH v3 2/3] NetworkPkg/IScsiDxe: " Jiaxin Wu
2019-01-18  7:17 ` [PATCH v3 3/3] NetworkPkg/DnsDxe: " Jiaxin Wu
2019-01-22  8:25 ` [PATCH v3 0/3] " Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox