diff options
author | Alex Elder <elder@linaro.org> | 2020-07-02 06:25:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-02 14:31:20 -0700 |
commit | fb57c3ea98519f811b37f299e0ac4988a021fe2a (patch) | |
tree | a8d12cabe11d614075454fc5c4aa6f0e13176d28 /drivers/net/macvtap.c | |
parent | b07f283ef3d0c97f67e5f446bb027c4456d75f1f (diff) | |
download | linux-fb57c3ea98519f811b37f299e0ac4988a021fe2a.tar.bz2 |
net: ipa: simplify ipa_endpoint_program()
Have functions that write endpoint configuration registers return
immediately if they are not valid for the direction of transfer for
the endpoint. This allows most of the calls in ipa_endpoint_program()
to be made unconditionally. Reorder the register writes to match
the order of their definition (based on offset).
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvtap.c')
0 files changed, 0 insertions, 0 deletions