this debug is mostly not used and if we will need some field debugging, we will need to use netdev_debug or some thing like this. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- net/can/j1939/bus.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/net/can/j1939/bus.c b/net/can/j1939/bus.c index f11067f0d781..d106e2d333a2 100644 --- a/net/can/j1939/bus.c +++ b/net/can/j1939/bus.c @@ -11,13 +11,6 @@ #include "j1939-priv.h" -#define ecu_dbg(_ecu, fmt, ...) \ -{ \ - struct j1939_ecu *ecu = _ecu; \ - pr_debug("j1939-%i,%016llx,%02x: " fmt, ecu->priv->ndev->ifindex, \ - ecu->name, ecu->addr, ##__VA_ARGS__); \ -} - static void __j1939_ecu_release(struct kref *kref) { struct j1939_ecu *ecu = container_of(kref, struct j1939_ecu, kref); @@ -170,7 +163,6 @@ struct j1939_ecu *j1939_ecu_create_locked(struct j1939_priv *priv, name_t name) ecu->priv = priv; list_add_tail(&ecu->list, &priv->ecus); - ecu_dbg(ecu, "%s\n", __func__); return ecu; } -- 2.19.1