Skip to contentSkip to conversation

bus/ifpga: remove dead code

PATCH Applied David Marchand 3 participants 4 messages Dec 18, 2023 – Jan 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus/ifpga: remove dead code

This macro was never used.

Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")
---
 drivers/bus/ifpga/ifpga_logs.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/bus/ifpga/ifpga_logs.h +0 -4
index 873e0a4f2f..248bccba5d 100644
@@ -9,10 +9,6 @@
 
 extern int ifpga_bus_logtype;
 
-#define IFPGA_LOG(level, fmt, args...) \
-	rte_log(RTE_LOG_ ## level, ifpga_bus_logtype, "%s(): " fmt "\n", \
-		__func__, ##args)
-
 #define IFPGA_BUS_LOG(level, fmt, args...) \
 	rte_log(RTE_LOG_ ## level, ifpga_bus_logtype, "%s(): " fmt "\n", \
 		__func__, ##args)
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#2 lore raw
In reply to David Marchand

Hi

Quoted 33 lines

-----Original Message-----
From: David Marchand <[email protected]>
Sent: Monday, December 18, 2023 11:45 PM
To: [email protected]
Cc: Xu, Rosen <[email protected]>; Tianfei Zhang <[email protected]>; Zhang, Qi Z <[email protected]>
Subject: [PATCH] bus/ifpga: remove dead code

This macro was never used.

Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")
---
 drivers/bus/ifpga/ifpga_logs.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/bus/ifpga/ifpga_logs.h +0 -5
index 873e0a4f2f..248bccba5d 100644
@@ -9,10 +9,6 @@
 
 extern int ifpga_bus_logtype;
 
-#define IFPGA_LOG(level, fmt, args...) \
-	rte_log(RTE_LOG_ ## level, ifpga_bus_logtype, "%s(): " fmt "\n", \
-		__func__, ##args)
-
 #define IFPGA_BUS_LOG(level, fmt, args...) \
 	rte_log(RTE_LOG_ ## level, ifpga_bus_logtype, "%s(): " fmt "\n", \
 		__func__, ##args)
--
Quoted 1 line

2.43.0