commit | 6a7f2277313b4a39645c13277efb9337ca441933 | [log] [tgz] |
---|---|---|
author | Nikita Danilov <nikita.danilov@aquantia.com> | Wed Feb 27 12:10:11 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 16:45:16 2019 -0800 |
tree | a6040076aedc5162422ed980383c241573b5d69d | |
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>