summaryrefslogtreecommitdiff
path: root/include/linux/siphash.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-03-27 19:15:20 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-28 00:27:30 +0300
commit180a8c3d5dad5862b2f19727b363069bfecb26d8 (patch)
tree3ad219a1a2b24c07d21e3abf1d0ed28693871b45 /include/linux/siphash.h
parent4f661542a40217713f2cee0bb6678fbb30d9d367 (diff)
downloadlinux-180a8c3d5dad5862b2f19727b363069bfecb26d8.tar.xz
net: phy: mdio-bcm-unimac: remove redundant !timeout check
The check for zero timeout is always true at the end of the proceeding while loop; the only other exit path in the loop is if the unimac MDIO is not busy. Remove the redundant zero timeout check and always return -ETIMEDOUT on this timeout return path. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/siphash.h')
0 files changed, 0 insertions, 0 deletions