e1000: Remove blink_led_start declaration
Subsystems (2)
PATCH 1/1 e1000: Remove blink_led_start declaration
It is left over code.
--- drivers/net/e1000/e1000_hw.h | 1 - 1 file changed, 1 deletion(-)
drivers/net/e1000/e1000_hw.h +0 -1
@@ -386,7 +386,6 @@ s32 e1000_setup_led(struct e1000_hw *hw)s32 e1000_cleanup_led (struct e1000_hw *hw);s32 e1000_led_on (struct e1000_hw *hw);s32 e1000_led_off (struct e1000_hw *hw); -s32 e1000_blink_led_start (struct e1000_hw *hw);/* Adaptive IFS Functions */
PATCH 1/1 ixgbe: Remove not used blink_led_start/stop code
There is no user for those code.
--- drivers/net/ixgbe/ixgbe_82598.c | 2 - drivers/net/ixgbe/ixgbe_82599.c | 2 - drivers/net/ixgbe/ixgbe_common.c | 56 --------------------------------------- drivers/net/ixgbe/ixgbe_common.h | 2 - drivers/net/ixgbe/ixgbe_type.h | 2 - drivers/net/ixgbe/ixgbe_x540.c | 2 - 6 files changed, 66 deletions(-)
drivers/net/ixgbe/ixgbe_82598.c +0 -2
@@ -1207,8 +1207,6 @@ static struct ixgbe_mac_operations mac_o .get_link_capabilities = &ixgbe_get_link_capabilities_82598, .led_on = &ixgbe_led_on_generic, .led_off = &ixgbe_led_off_generic, - .blink_led_start = &ixgbe_blink_led_start_generic, - .blink_led_stop = &ixgbe_blink_led_stop_generic, .set_rar = &ixgbe_set_rar_generic, .clear_rar = &ixgbe_clear_rar_generic, .set_vmdq = &ixgbe_set_vmdq_82598,
drivers/net/ixgbe/ixgbe_82599.c +0 -2
@@ -2052,8 +2052,6 @@ static struct ixgbe_mac_operations mac_o .get_link_capabilities = &ixgbe_get_link_capabilities_82599, .led_on = &ixgbe_led_on_generic, .led_off = &ixgbe_led_off_generic, - .blink_led_start = &ixgbe_blink_led_start_generic, - .blink_led_stop = &ixgbe_blink_led_stop_generic, .set_rar = &ixgbe_set_rar_generic, .clear_rar = &ixgbe_clear_rar_generic, .set_vmdq = &ixgbe_set_vmdq_generic,
drivers/net/ixgbe/ixgbe_common.c +0 -56
62 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_common.h +0 -2
@@ -85,8 +85,6 @@ s32 ixgbe_check_mac_link_generic(struct bool *link_up, bool link_up_wait_to_complete);s32 ixgbe_get_wwn_prefix_generic (struct ixgbe_hw *hw,u16 *wwnn_prefix,u16 *wwpn_prefix); -s32 ixgbe_blink_led_start_generic (struct ixgbe_hw *hw,u32 index); -s32 ixgbe_blink_led_stop_generic (struct ixgbe_hw *hw,u32 index);void ixgbe_set_mac_anti_spoofing (struct ixgbe_hw *hw,bool enable,int pf);void ixgbe_set_vlan_anti_spoofing (struct ixgbe_hw *hw,bool enable,int vf);
drivers/net/ixgbe/ixgbe_type.h +0 -2
@@ -2530,8 +2530,6 @@ struct ixgbe_mac_operations {/* LED */ s32 (*led_on)(struct ixgbe_hw *,u32 );s32 (*led_off)(struct ixgbe_hw *,u32 ); -s32 (*blink_led_start)(struct ixgbe_hw *,u32 ); -s32 (*blink_led_stop)(struct ixgbe_hw *,u32 );/* RAR, Multicast, VLAN */ s32 (*set_rar)(struct ixgbe_hw *,u32 ,u8 *,u32 ,u32 );
drivers/net/ixgbe/ixgbe_x540.c +0 -2
@@ -681,8 +681,6 @@ static struct ixgbe_mac_operations mac_o .get_link_capabilities = &ixgbe_get_copper_link_capabilities_generic, .led_on = &ixgbe_led_on_generic, .led_off = &ixgbe_led_off_generic, - .blink_led_start = &ixgbe_blink_led_start_generic, - .blink_led_stop = &ixgbe_blink_led_stop_generic, .set_rar = &ixgbe_set_rar_generic, .clear_rar = &ixgbe_clear_rar_generic, .set_vmdq = &ixgbe_set_vmdq_generic,
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
Re: [PATCH] ixgbe: Remove not used blink_led_start/stop code
Quoted 4 lines · Yinghai Lu
There is no user for those code.
Signed-off-by Yinghai Lu <[email protected]>
Quoted 9 lines
--- drivers/net/ixgbe/ixgbe_82598.c | 2 - drivers/net/ixgbe/ixgbe_82599.c | 2 - drivers/net/ixgbe/ixgbe_common.c | 56 --------------------------------------- drivers/net/ixgbe/ixgbe_common.h | 2 - drivers/net/ixgbe/ixgbe_type.h | 2 - drivers/net/ixgbe/ixgbe_x540.c | 2 - 6 files changed, 66 deletions(-)
Thanks for the patch, I have added the patch to my queue of ixgbe patches.
Quoted 9 lines · Yinghai Lu
It is left over code.
Signed-off-by Yinghai Lu <[email protected]>---
drivers/net/e1000/e1000_hw.h | 1 -1 file changed, 1 deletion(-)
Thanks for the patch, I have added the patch to my queue of e1000 patches.
Signature · 2 lines
Cheers, Jeff