]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/IScsiDxe/IScsiConfig.c
NetworkPkg/IScsiDxe: Remove redundant call to StrLen
authorHao Wu <hao.a.wu@intel.com>
Tue, 19 Sep 2017 01:45:50 +0000 (09:45 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 20 Sep 2017 08:04:17 +0000 (16:04 +0800)
commitb68c793144e8f239cf59fcc34ee6e35c1fdcd8a6
treea8009a46a31558fff131048120595512023716b5
parent70dc3ec5a72e0e3fc3ea8f63baecdeafd1110db8
NetworkPkg/IScsiDxe: Remove redundant call to StrLen

The commits utilizes a local variable to store the length of a string
which will be used right after.

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