Commit debd0034 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

sfc: make local functions static

Trivial sparse detected functions that should be static.
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a362db3d
...@@ -2950,7 +2950,7 @@ static const struct dev_pm_ops efx_pm_ops = { ...@@ -2950,7 +2950,7 @@ static const struct dev_pm_ops efx_pm_ops = {
* At this point MMIO and DMA may be disabled. * At this point MMIO and DMA may be disabled.
* Stop the software path and request a slot reset. * Stop the software path and request a slot reset.
*/ */
pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev, static pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev,
enum pci_channel_state state) enum pci_channel_state state)
{ {
pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED; pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED;
...@@ -2986,7 +2986,7 @@ pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev, ...@@ -2986,7 +2986,7 @@ pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev,
} }
/* Fake a successfull reset, which will be performed later in efx_io_resume. */ /* Fake a successfull reset, which will be performed later in efx_io_resume. */
pci_ers_result_t efx_io_slot_reset(struct pci_dev *pdev) static pci_ers_result_t efx_io_slot_reset(struct pci_dev *pdev)
{ {
struct efx_nic *efx = pci_get_drvdata(pdev); struct efx_nic *efx = pci_get_drvdata(pdev);
pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED; pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED;
......
...@@ -666,7 +666,7 @@ int efx_probe_rx_queue(struct efx_rx_queue *rx_queue) ...@@ -666,7 +666,7 @@ int efx_probe_rx_queue(struct efx_rx_queue *rx_queue)
return rc; return rc;
} }
void efx_init_rx_recycle_ring(struct efx_nic *efx, static void efx_init_rx_recycle_ring(struct efx_nic *efx,
struct efx_rx_queue *rx_queue) struct efx_rx_queue *rx_queue)
{ {
unsigned int bufs_in_recycle_ring, page_ring_size; unsigned int bufs_in_recycle_ring, page_ring_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment