bcm63xx_enet: remove redundant variable definitions
authortangbin <tangbin@cmss.chinamobile.com>
Thu, 5 Mar 2020 12:22:59 +0000 (20:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2020 22:59:22 +0000 (14:59 -0800)
commit442a46ad103ed38ddaaba1d9f7d316beb492c66e
tree0bd5f9d56ad5747d0ef6695a1fa280f5f11a4bf8
parent5de3a2386ec39f573ae7733db4b506ad850ce015
bcm63xx_enet: remove redundant variable definitions

in this function,‘ret’ is always assigned,so this's definition
'ret = 0' make no sense.

Signed-off-by: tangbin <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