]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_int_api.h
net/nfp: handle packets with length 0 as usual ones
[dpdk.git] / drivers / net / qede / base / ecore_int_api.h
index fdfcba8a8ca918df518b91996a0ad449427e601e..799fbe82e75926930ae69173df5326a720ee8567 100644 (file)
@@ -114,7 +114,7 @@ static OSAL_INLINE void __internal_ram_wr(struct ecore_hwfn *p_hwfn,
                                          void OSAL_IOMEM *addr,
                                          int size, u32 *data)
 #else
-static OSAL_INLINE void __internal_ram_wr(void *p_hwfn,
+static OSAL_INLINE void __internal_ram_wr(__rte_unused void *p_hwfn,
                                          void OSAL_IOMEM *addr,
                                          int size, u32 *data)
 #endif
@@ -130,7 +130,7 @@ static OSAL_INLINE void __internal_ram_wr_relaxed(struct ecore_hwfn *p_hwfn,
                                                  void OSAL_IOMEM * addr,
                                                  int size, u32 *data)
 #else
-static OSAL_INLINE void __internal_ram_wr_relaxed(void *p_hwfn,
+static OSAL_INLINE void __internal_ram_wr_relaxed(__rte_unused void *p_hwfn,
                                                  void OSAL_IOMEM * addr,
                                                  int size, u32 *data)
 #endif