From 382000a1fd2a9df09c61bc55ec85013206dc6602 Mon Sep 17 00:00:00 2001 From: Eric van Gyzen Date: Mon, 8 Oct 2018 01:28:46 +0000 Subject: [PATCH] em/igb: Do not print link state messages These messages are totally redundant with the iflib messages. They're also not very useful, since they don't include the interface name. Discussed with: shurd Approved by: re (rgrimes) Sponsored by: Dell EMC Isilon --- sys/dev/e1000/if_em.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 93714cd1071..5ebc3cad4ca 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1804,13 +1804,11 @@ em_if_update_admin_status(if_ctx_t ctx) } iflib_link_state_change(ctx, LINK_STATE_UP, IF_Mbps(adapter->link_speed)); - printf("Link state changed to up\n"); } else if (!link_check && (adapter->link_active == 1)) { adapter->link_speed = 0; adapter->link_duplex = 0; adapter->link_active = 0; iflib_link_state_change(ctx, LINK_STATE_DOWN, 0); - printf("Link state changed to down\n"); } em_update_stats_counters(adapter);