summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Drivers
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-08-29 19:33:09 +0800
committerHao Wu <hao.a.wu@intel.com>2017-08-30 19:14:20 +0800
commit7046a2739ae74f5d5c86ea18dc4bcc855e4916c6 (patch)
tree247e174a1f686c3df240e0c9243d4709b3355266 /EmbeddedPkg/Drivers
parentdb6f08a0eae66f5c8e9a91930d9bc78c7eb404bb (diff)
downloadedk2-7046a2739ae74f5d5c86ea18dc4bcc855e4916c6.tar.gz
edk2-7046a2739ae74f5d5c86ea18dc4bcc855e4916c6.tar.bz2
edk2-7046a2739ae74f5d5c86ea18dc4bcc855e4916c6.zip
IntelSiliconPkg/PlatformVTdSample: Avoid using constant result 'if'
In this sample driver, if (0) {...} else {...} statements were used to illustrate two different using scenarios. This comment refines the coding style by substituting the 'if (0)' statement with comments to select sample codes for different cases. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'EmbeddedPkg/Drivers')
0 files changed, 0 insertions, 0 deletions