myri10ge: remove unneeded variable
authorDing Xiang <dingxiang@cmss.chinamobile.com>
Wed, 31 Jul 2019 08:53:46 +0000 (16:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2019 15:44:00 +0000 (08:44 -0700)
commit7084148854e75090712439f73fbe2f4d6bfd96e1
tree8655faaddd937b5e8cd3647d18411eb4b624bb79
parenta9d41e7b8b1fe43c0beeab9a45d4c886a5e4ee85
myri10ge: remove unneeded variable

"error" is unneeded,just return 0

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c