File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
drivers/net/ethernet/broadcom/genet Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ static void bcmgenet_set_rx_mode(struct net_device *dev);
6868static bool skip_umac_reset = false;
6969module_param (skip_umac_reset , bool , 0444 );
7070MODULE_PARM_DESC (skip_umac_reset , "Skip UMAC reset step" );
71- static bool eee = true;
72- module_param (eee , bool , 0444 );
73- MODULE_PARM_DESC (eee , "Enable EEE (default Y)" );
7471
7572static inline void bcmgenet_writel (u32 value , void __iomem * offset )
7673{
@@ -3367,17 +3364,6 @@ static int bcmgenet_open(struct net_device *dev)
33673364
33683365 bcmgenet_phy_pause_set (dev , priv -> rx_pause , priv -> tx_pause );
33693366
3370- if (!eee ) {
3371- struct ethtool_keee eee_data ;
3372-
3373- ret = bcmgenet_get_eee (dev , & eee_data );
3374- if (ret == 0 ) {
3375- eee_data .eee_enabled = 0 ;
3376- bcmgenet_set_eee (dev , & eee_data );
3377- netdev_warn (dev , "EEE disabled\n" );
3378- }
3379- }
3380-
33813367 bcmgenet_netif_start (dev );
33823368
33833369 netif_tx_start_all_queues (dev );
You can’t perform that action at this time.
0 commit comments