diff options
author | Heiner Kallweit | 2019-02-07 20:22:20 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-09 08:01:49 +0100 |
commit | c397ab21ba362d5c5215e53f36685a9fffc45f66 (patch) | |
tree | 7a96407c8fcaff6869aa3e42c4b892c5f31381f3 /ipc/shm.c | |
parent | fm10k: use struct_size() in kzalloc() (diff) | |
download | kernel-qcow2-linux-c397ab21ba362d5c5215e53f36685a9fffc45f66.tar.gz kernel-qcow2-linux-c397ab21ba362d5c5215e53f36685a9fffc45f66.tar.xz kernel-qcow2-linux-c397ab21ba362d5c5215e53f36685a9fffc45f66.zip |
net: phy: don't double-read link status register if link is up
The link status register latches link-down events. Therefore, if link
is reported as being up, there's no need for a second read.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions