]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cpsw: drop host_port field from struct cpsw_priv
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 7 Apr 2016 12:16:44 +0000 (15:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:11:59 +0000 (15:11 -0400)
commit9d29a2c0d2029ef528f1bdbc080e00f10e9bfae1
treece4dcb926cfe6e2f86bd6cf41cc1703c31bd7587
parent7e606e70910b39eb33a7760d5842bc60a919c693
drivers: net: cpsw: drop host_port field from struct cpsw_priv

The host_port field is constantly assigned to 0 and this value has
never changed (since time when cpsw driver was introduced. More over,
if this field will be assigned to non 0 value it will break current
driver functionality.

Hence, there are no reasons to continue maintaining this host_port
field and it can be removed, and the HOST_PORT_NUM and ALE_PORT_HOST
defines can be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c