Commit f3aaaaaa authored by Anirudh Venkataramanan's avatar Anirudh Venkataramanan Committed by Jeff Kirsher

ice: Make ice_msix_clean_rings static

commit 158a08a6 ("ice: remove ndo_poll_controller") removed
ice_netpoll and introduced a namespace warning for ice_msix_clean_rings.
Fix the namespace warning by making ice_msix_clean_rings static.
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 44adbac8
...@@ -433,7 +433,7 @@ int ice_vsi_clear(struct ice_vsi *vsi) ...@@ -433,7 +433,7 @@ int ice_vsi_clear(struct ice_vsi *vsi)
* @irq: interrupt number * @irq: interrupt number
* @data: pointer to a q_vector * @data: pointer to a q_vector
*/ */
irqreturn_t ice_msix_clean_rings(int __always_unused irq, void *data) static irqreturn_t ice_msix_clean_rings(int __always_unused irq, void *data)
{ {
struct ice_q_vector *q_vector = (struct ice_q_vector *)data; struct ice_q_vector *q_vector = (struct ice_q_vector *)data;
......
...@@ -73,5 +73,4 @@ int ice_vsi_cfg_tc(struct ice_vsi *vsi, u8 ena_tc); ...@@ -73,5 +73,4 @@ int ice_vsi_cfg_tc(struct ice_vsi *vsi, u8 ena_tc);
int ice_vsi_manage_rss_lut(struct ice_vsi *vsi, bool ena); int ice_vsi_manage_rss_lut(struct ice_vsi *vsi, bool ena);
irqreturn_t ice_msix_clean_rings(int __always_unused irq, void *data);
#endif /* !_ICE_LIB_H_ */ #endif /* !_ICE_LIB_H_ */
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