diff options
author | Jun Nie <jun.nie@linaro.org> | 2017-08-01 17:28:58 +0800 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-08-01 15:57:47 +0100 |
commit | edc65fc4d83a7083ed139c00b8669c959a7fae8f (patch) | |
tree | 61b09d647e1e28efca7114ca9c73ad32d477749d /ArmPkg/Library | |
parent | c1acb0f9b8222a97d2ad72dbebbcefc214d9ce03 (diff) | |
download | edk2-edc65fc4d83a7083ed139c00b8669c959a7fae8f.tar.gz edk2-edc65fc4d83a7083ed139c00b8669c959a7fae8f.tar.bz2 edk2-edc65fc4d83a7083ed139c00b8669c959a7fae8f.zip |
ArmPkg: Move IS_DEVICE_PATH_NODE for sharing
Move IS_DEVICE_PATH_NODE into header to share it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r-- | ArmPkg/Library/BdsLib/BdsFilePath.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsFilePath.c b/ArmPkg/Library/BdsLib/BdsFilePath.c index f9d8c4c205..41557bb918 100644 --- a/ArmPkg/Library/BdsLib/BdsFilePath.c +++ b/ArmPkg/Library/BdsLib/BdsFilePath.c @@ -24,9 +24,6 @@ #include <Protocol/Dhcp4.h>
#include <Protocol/Mtftp4.h>
-
-#define IS_DEVICE_PATH_NODE(node,type,subtype) (((node)->Type == (type)) && ((node)->SubType == (subtype)))
-
/* Type and defines to set up the DHCP4 options */
typedef struct {
|