diff options
author | dingtianhong <[email protected]> | 2014-05-15 19:11:36 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-05-15 23:35:16 -0400 |
commit | a188a54d11629bef2169052297e61f3767ca8ce5 (patch) | |
tree | abf311bb54dbb685f4ef8543a1708211a0dc36f5 /net/unix/af_unix.c | |
parent | 112a3513b51976111e5e4a3115485d3fc89410c1 (diff) |
macvlan: simplify the structure port
The port->count was used to count the number of macvlan devs
in the same port, but the list vlans could play the same role
to do that, so free the port if the list vlans is empty and
no need to use the parameter count.
Signed-off-by: Ding Tianhong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions