diff options
author | Miaohe Lin <[email protected]> | 2020-08-25 07:40:48 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-25 06:20:10 -0700 |
commit | 0ce779a9f50108c26541b54c12a0808ba1be103a (patch) | |
tree | ca9c4fb10d74c4346125d91877a6c843bb526724 /drivers/fpga/fpga-bridge.c | |
parent | 0316a211168dd94c4d3b81c91e76fac4f2714544 (diff) |
net: Avoid unnecessary inet_addr_type() call when addr is INADDR_ANY
We can avoid unnecessary inet_addr_type() call by check addr against
INADDR_ANY first.
Signed-off-by: Miaohe Lin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions