diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-06-24 02:28:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-24 09:41:58 +0200 |
commit | b0c1638f26a5f8d593e79b226e8dec0bcd5adc3e (patch) | |
tree | d7d63b0cf26e47ddbbca17d29c8e6748757f076e /net/tls | |
parent | Merge branch 'r8169-enable-ASPM-on-RTL8168E-VL' (diff) | |
download | linux-b0c1638f26a5f8d593e79b226e8dec0bcd5adc3e.tar.xz linux-b0c1638f26a5f8d593e79b226e8dec0bcd5adc3e.zip |
net: phy: fixed-phy: Make the error path simpler
When platform_device_register_simple() fails we can return
the error immediately instead of jumping to the 'err_pdev'
label.
This makes the error path a bit simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions