diff options
author | Jiaxin Wu <Jiaxin.wu@intel.com> | 2018-11-08 15:30:16 +0800 |
---|---|---|
committer | Jiaxin Wu <Jiaxin.wu@intel.com> | 2019-01-23 08:46:48 +0800 |
commit | 710962016b095e49404625ef92df57cb065e8f31 (patch) | |
tree | 0b1980ec68c1c142c313e577c93f78914bece2e8 /BaseTools/Source/Python/AutoGen/UniClassObject.py | |
parent | 8f470eb4768f69b675295080db0962ba503a743d (diff) | |
download | edk2-710962016b095e49404625ef92df57cb065e8f31.tar.gz edk2-710962016b095e49404625ef92df57cb065e8f31.tar.bz2 edk2-710962016b095e49404625ef92df57cb065e8f31.zip |
MdeModulePkg/Dhcp4Dxe: Remove unnecessary NULL pointer check.
v3: Add the instance token check.
v2: The DHCP Instance might be destroyed in PxeDhcpDone. So,
we need safe-delete.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1469
Since the value of Instance 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>
Cc: Gao Liming <liming.gao@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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/UniClassObject.py')
0 files changed, 0 insertions, 0 deletions