X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2F8021q%2Fvlanproc.c;h=0feefa4e1a4b784b60daea32cde2e7a6aa83d0bc;hb=0e75f5da06c05425f4b375eb981c4489fb2d9787;hp=08b54b593d565df95a7b64629b793371df8c5d4d;hpb=c402f98c6d43f22b4c6d7b3db9d7099611cdcaec;p=linux-2.6-omap-h63xx.git diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c index 08b54b593d5..0feefa4e1a4 100644 --- a/net/8021q/vlanproc.c +++ b/net/8021q/vlanproc.c @@ -18,16 +18,9 @@ *****************************************************************************/ #include -#include /* offsetof(), etc. */ -#include /* return codes */ +#include #include -#include /* kmalloc(), kfree() */ -#include -#include /* inline mem*, str* functions */ -#include /* __initfunc et al. */ -#include /* htons(), etc. */ -#include /* copy_to_user */ -#include +#include #include #include #include @@ -290,7 +283,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) static const char fmt[] = "%30s %12lu\n"; int i; - if (!(vlandev->priv_flags & IFF_802_1Q_VLAN)) + if (!is_vlan_dev(vlandev)) return 0; seq_printf(seq,