aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2020-05-28 19:47:17 +0800
committerFelipe Balbi <[email protected]>2020-06-24 09:43:16 +0300
commitd410912ef63714fad404f34baa72e5ceb0466e62 (patch)
tree2a5dbda6e7dcedf39c15a63e5d5ffa327b3f626f /net/unix/sysctl_net_unix.c
parent2655971ad4b34e97dd921df16bb0b08db9449df7 (diff)
usb: phy: tegra: Fix unnecessary check in tegra_usb_phy_probe()
In the function tegra_usb_phy_probe(), if usb_add_phy_dev() failed, the return value will be given to err, and if usb_add_phy_dev() succeed, the return value will be zero. Thus it is unnecessary to repeated check here. Signed-off-by: Zhang Shengju <[email protected]> Signed-off-by: Tang Bin <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions