From: Tom Rini Date: Thu, 23 Oct 2014 13:14:07 -0400 Subject: [U-Boot] [U-Boot, U-boot, v2, 5/5] net: keystone_net: remove redundant code from keystone_net.c In-Reply-To: <1412018244-10271-6-git-send-email-ivan.khoronzhuk@ti.com> References: <1412018244-10271-6-git-send-email-ivan.khoronzhuk@ti.com> Message-ID: <20141023171407.GT25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: