diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2013-06-24 12:54:35 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-22 22:14:28 (GMT) |
commit | bcc95f5a91106f85978e249ec7a3b1d7057c6d88 (patch) | |
tree | 5b02d00c54762e13183cd8e9bc1b8f886fd9399f /drivers/net/ethernet/freescale/fman | |
parent | e3d4cf2fddb7980238a9dfab4463e0911c0d0f01 (diff) | |
download | linux-fsl-qoriq-bcc95f5a91106f85978e249ec7a3b1d7057c6d88.tar.xz |
fmd: remove unused macros
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: If2fda57aaf42719d0a3aae2256d513856583913b
Reviewed-on: http://git.am.freescale.net:8181/3427
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_pcd_ext.h | 10 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c | 12 |
2 files changed, 0 insertions, 22 deletions
diff --git a/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_pcd_ext.h b/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_pcd_ext.h index 60edfd2..e2199e4 100644 --- a/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_pcd_ext.h +++ b/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_pcd_ext.h @@ -99,16 +99,6 @@ #define FM_PCD_SW_PRS_SIZE 0x00000800 /**< Total size of SW parser area */ #define FM_PCD_PRS_SW_OFFSET 0x00000040 /**< Size of illegal addresses at the beginning of the SW parser area */ -#if (DPAA_VERSION >= 11) -#define FM_PCD_PRS_SW_PATCHES_SIZE 0x00000240 /**< Number of bytes saved for patches */ -#else -#define FM_PCD_PRS_SW_PATCHES_SIZE 0x00000200 /**< Number of bytes saved for patches */ -#endif /* (DPAA_VERSION >= 11) */ - -#define FM_PCD_PRS_SW_TAIL_SIZE 4 /**< Number of bytes that must be cleared at - the end of the SW parser area */ -#define FM_SW_PRS_MAX_IMAGE_SIZE (FM_PCD_SW_PRS_SIZE-FM_PCD_PRS_SW_OFFSET-FM_PCD_PRS_SW_TAIL_SIZE-FM_PCD_PRS_SW_PATCHES_SIZE) - /**< Maximum size of SW parser code */ #define FM_PCD_MAX_MANIP_INSRT_TEMPLATE_SIZE 128 /**< Maximum size of insertion template for insert manipulation */ diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c index 3c372a3..8121a12 100644 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c @@ -126,18 +126,6 @@ #error Error: please synchronize IOC_ defines! #endif -#if CMP_IOC_DEFINE(FM_PCD_PRS_SW_PATCHES_SIZE) -#error Error: please synchronize IOC_ defines! -#endif - -#if CMP_IOC_DEFINE(FM_PCD_PRS_SW_TAIL_SIZE) -#error Error: please synchronize IOC_ defines! -#endif - -#if CMP_IOC_DEFINE(FM_SW_PRS_MAX_IMAGE_SIZE) -#error Error: please synchronize IOC_ defines! -#endif - #if CMP_IOC_DEFINE(FM_PCD_MAX_MANIP_INSRT_TEMPLATE_SIZE) #error Error: please synchronize IOC_ defines! #endif |