bus/ifpga: remove dead code
PATCH 1/1 bus/ifpga: remove dead code
This macro was never used.
Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")
Signed-off-by David Marchand <[email protected]>
--- drivers/bus/ifpga/ifpga_logs.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/bus/ifpga/ifpga_logs.h +0 -4
@@ -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
Quoted 9 lines · David Marchand
This macro was never used.
Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")Signed-off-by David Marchand <[email protected]>--- drivers/bus/ifpga/ifpga_logs.h | 4 ---- 1 file changed, 4 deletions(-)
Acked-by Bruce Richardson <[email protected]>
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 codeThis macro was never used.
Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")Signed-off-by David Marchand <[email protected]>--- drivers/bus/ifpga/ifpga_logs.h | 4 ---- 1 file changed, 4 deletions(-)drivers/bus/ifpga/ifpga_logs.h +0
-5@@ -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
Acked-by Rosen Xu <[email protected]>
David Marchand
AppliedQuoted 6 lines · David Marchand
This macro was never used.
Fixes 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")Signed-off-by David Marchand <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand