diff options
author | Nikita Danilov <nikita.danilov@aquantia.com> | 2019-02-27 07:10:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-01 19:45:16 -0500 |
commit | 6a7f2277313b4a39645c13277efb9337ca441933 (patch) | |
tree | a6040076aedc5162422ed980383c241573b5d69d /net/switchdev/switchdev.c | |
parent | 8006e3730b6e900319411e35cee85b4513d298df (diff) |
net: aquantia: replace AQ_HW_WAIT_FOR with readx_poll_timeout_atomic
David noticed the original define was hiding 'err' variable
reference. Thats confusing and counterintuitive.
Andrew noted the whole macro could be replaced with standard readx_poll
kernel macro. This makes code more readable.
Signed-off-by: Nikita Danilov <nikita.danilov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions