ar71xx/ag71xx_ethtool: don't return uninitialized return value on success
authorAlexander Couzens <lynxis@fe80.eu>
Sun, 11 Jun 2017 10:51:58 +0000 (12:51 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Sun, 11 Jun 2017 12:22:44 +0000 (14:22 +0200)
commit10259416628da6f8098ec77be1b59c8f8951c8c4
tree5fcab0f65e927ffcb582dff083f1284166a85968
parent64cd4b48e8fb51055a24382564a09877d6d6a08c
ar71xx/ag71xx_ethtool: don't return uninitialized return value on success

ag71xx_ethtool_set_ringparam() will return an uninitialized value on
success.

Found-by: Coverity Scan #1330877
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c