diff options
author | Gao Feng <fgao@ikuai8.com> | 2017-03-10 05:38:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-13 07:27:09 +0100 |
commit | 8b57fd1ec13e22b3e722891ff7a6e6ccaf286779 (patch) | |
tree | 7e051e9e2239617718f634c8aeda8f7aca8164b5 /drivers/net/vxlan.c | |
parent | Merge branch 'sctp-rx-side-stream-reconf-asoc-reset-and-add-streams-and-respo... (diff) | |
download | linux-8b57fd1ec13e22b3e722891ff7a6e6ccaf286779.tar.xz linux-8b57fd1ec13e22b3e722891ff7a6e6ccaf286779.zip |
net: Eliminate duplicated codes by creating one new function in_dev_select_addr
There are two duplicated loops codes which used to select right
address in current codes. Now eliminate these codes by creating
one new function in_dev_select_addr.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions