[U-Boot] [U-Boot, U-boot, v2, 5/5] net: keystone_net: remove redundant code from keystone_net.c

Tom Rini trini at ti.com
Thu Oct 23 19:14:07 CEST 2014


On Mon, Sep 29, 2014 at 10:17:24PM +0300, Khoronzhuk, Ivan wrote:

> 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: Ivan Khoronzhuk <ivan.khoronzhuk at ti.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141023/f7af8bb8/attachment.pgp>


More information about the U-Boot mailing list