Re: [PATCH][next] lan743x: remove some redundant variables and assignments

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:42:33 +0100 > From: Colin Ian King > > Function lan743x_phy_init assigns pointer 'netdev' but this is never read > and hence it can be removed. The return error code handling can also be > cleaned up

Re: [PATCH][next] lan743x: remove some redundant variables and assignments

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:42:33 +0100 > From: Colin Ian King > > Function lan743x_phy_init assigns pointer 'netdev' but this is never read > and hence it can be removed. The return error code handling can also be > cleaned up to remove the variable 'ret'. > > Function

[PATCH][next] lan743x: remove some redundant variables and assignments

2018-03-11 Thread Colin King
From: Colin Ian King Function lan743x_phy_init assigns pointer 'netdev' but this is never read and hence it can be removed. The return error code handling can also be cleaned up to remove the variable 'ret'. Function lan743x_phy_link_status_change assigns pointer 'phy'

[PATCH][next] lan743x: remove some redundant variables and assignments

2018-03-11 Thread Colin King
From: Colin Ian King Function lan743x_phy_init assigns pointer 'netdev' but this is never read and hence it can be removed. The return error code handling can also be cleaned up to remove the variable 'ret'. Function lan743x_phy_link_status_change assigns pointer 'phy' twice and this is never