net: phy: sfp: clean up a condition
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Jun 2019 06:51:02 +0000 (09:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:21:31 +0000 (19:21 -0700)
commit1086ca3a63a3af6b8a722fff55da46f111bc40ee
tree61d409950eaa4ace161621b97a0b172de4dafe2f
parentd5afa82c977ea06f7119058fa0eb8519ea501031
net: phy: sfp: clean up a condition

The acpi_node_get_property_reference() doesn't return ACPI error codes,
it just returns regular negative kernel error codes.  This patch doesn't
affect run time, it's just a clean up.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ruslan Babayev <ruslan@babayev.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c