summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeIpIoLib
diff options
context:
space:
mode:
authorniry <niry@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-25 05:39:56 +0000
committerniry <niry@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-25 05:39:56 +0000
commit8de75da28bbd9a4d3c54fba99d943f9019b52193 (patch)
treefdee0f894059cd9659f133920e4fbb4402205ad5 /MdeModulePkg/Library/DxeIpIoLib
parentbd682470fcbdaecf9e1b6376940274db23e1a099 (diff)
downloadedk2-8de75da28bbd9a4d3c54fba99d943f9019b52193.zip
edk2-8de75da28bbd9a4d3c54fba99d943f9019b52193.tar.gz
edk2-8de75da28bbd9a4d3c54fba99d943f9019b52193.tar.bz2
Fix coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7942 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeIpIoLib')
-rw-r--r--MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
index 92c0478..f37bb91 100644
--- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
+++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
@@ -532,7 +532,7 @@ IpIoTransmitHandlerDpc (
IpIo = SndEntry->IpIo;
- if (IpIo->PktSentNotify && SndEntry->NotifyData) {
+ if ((IpIo->PktSentNotify != NULL) && (SndEntry->NotifyData != NULL)) {
IpIo->PktSentNotify (
SndEntry->SndToken->Status,
SndEntry->Context,