Skip to content
Snippets Groups Projects
Commit 497e9e03 authored by Khoronzhuk, Ivan's avatar Khoronzhuk, Ivan Committed by Tom Rini
Browse files

net: keystone_net: remove redundant code from keystone_net.c


Remove unused tx_send_loop variable.

Removes duplicated get_link_status() call from the
keystone2_eth_send_packet().

The emac_gigabit_enable() is called at opening Ethernet and there is no
need to enable it on sending each packet. So remove that call
from keystone2_eth_send_packet() as well.

The calling of power/clock up functions are mostly the responsibility
of SoC/board code, so move these functions to appropriate place.

Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
parent f0772266
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment