Remove the work-around in DevicePathLib to judge the end of device path node type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7644 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2009-02-24 09:15:47 +00:00
parent b6349c0537
commit a9b896f453
4 changed files with 6 additions and 6 deletions

View File

@ -182,7 +182,7 @@ IsDevicePathEndType (
)
{
ASSERT (Node != NULL);
return (BOOLEAN) ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);
return (BOOLEAN) (DevicePathType (Node)) == END_DEVICE_PATH_TYPE);
}
/**