From: dingtianhong Date: Thu, 15 May 2014 11:11:36 +0000 (+0800) Subject: macvlan: simplify the structure port X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a188a54d11629bef2169052297e61f3767ca8ce5;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed