fm10k: don't protect fm10k_queue_mac_request by fm10k_host_mbx_ready
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 12 Apr 2018 18:15:59 +0000 (11:15 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 9 May 2018 16:02:48 +0000 (09:02 -0700)
commit0a3e92de1be42b5dbed4b81f835740d3f58c5430
tree638783b040e6136084b46c7611f46306652223b3
parent454ca380ce3cac79bfd295f5a7ae15ec26ff1b67
fm10k: don't protect fm10k_queue_mac_request by fm10k_host_mbx_ready

We don't actually need to check if the host mbx is ready when queuing
MAC requests, because these are not handled by a special queue which
queues up requests until the mailbox is capable of handling them.

Pull these requests outside the fm10k_host_mbx_ready() check, as it is
not necessary.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c