]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/SmmIoLib/SmmIoLib.c
MdePkg SmmIoLib: Use NULL pointer check instead of useless Status check
authorStar Zeng <star.zeng@intel.com>
Mon, 5 Jun 2017 06:31:19 +0000 (14:31 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 6 Jun 2017 01:07:10 +0000 (09:07 +0800)
commit7b5d848dbfc3abe8b8c6066168bf10eca39d5891
tree7664a291c20b7b84d6c179b62d6f6f1a12b32812
parent1a0ad70ee190210084f1453b309f7c2035a8b0b3
MdePkg SmmIoLib: Use NULL pointer check instead of useless Status check

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

The Status check in "if (!EFI_ERROR (Status))" condition is useless,
it should be NULL pointer check. And this patch also fixes a typo
"continous" to "continuous".

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdePkg/Library/SmmIoLib/SmmIoLib.c