mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
fm10k: remove extraneous "Reset interface" message
Since we already print this message when a reset is requested via the RESET_REQUESTED flag, we do not need to print it before setting the flag. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Matthew Vick <matthew.vick@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
fbdb159f7d
commit
5deaf50bfb
@ -1191,7 +1191,6 @@ void fm10k_tx_timeout_reset(struct fm10k_intfc *interface)
|
||||
{
|
||||
/* Do the reset outside of interrupt context */
|
||||
if (!test_bit(__FM10K_DOWN, &interface->state)) {
|
||||
netdev_err(interface->netdev, "Reset interface\n");
|
||||
interface->tx_timeout_count++;
|
||||
interface->flags |= FM10K_FLAG_RESET_REQUESTED;
|
||||
fm10k_service_event_schedule(interface);
|
||||
|
Loading…
Reference in New Issue
Block a user