bcm63xx_enet: delete a redundant assignment
authorTang Bin <tangbin@cmss.chinamobile.com>
Thu, 29 Jul 2021 04:03:00 +0000 (12:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 21:18:42 +0000 (22:18 +0100)
commit3e12361b6d23f793580a50a6008633501c56ea1d
tree46ec46db50b5a999c2b8e46ef7a7d37b3b5dcc39
parentbea7907837c57a0aaac009931eb14efb056dafab
bcm63xx_enet: delete a redundant assignment

In the function bcm_enetsw_probe(), 'ret' will be assigned by
bcm_enet_change_mtu(), so 'ret = 0' make no sense.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c