aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_rules.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2013-08-03 16:54:50 +0800
committerDavid S. Miller <davem@davemloft.net>2013-08-03 10:32:25 -0700
commit0c0667a8548ef2985038a5a1d0fa0f64e2774694 (patch)
treee2777ccf7ad96b9fd9a6b1fdebd7ed5bf2540603 /net/ipv4/fib_rules.c
parentcnic, bnx2i: Fix bug on some bnx2x devices that don't support iSCSI (diff)
downloadlinux-dev-0c0667a8548ef2985038a5a1d0fa0f64e2774694.tar.xz
linux-dev-0c0667a8548ef2985038a5a1d0fa0f64e2774694.zip
vlan: cleanup the usage of vlan_dev_priv(dev)
This patch cleanup 2 points for the usage of vlan_dev_priv(dev): * In vlan_dev.c/vlan_dev_hard_header, we should use the var *vlan directly after grabing the pointer at the beginning with *vlan = vlan_dev_priv(dev); when we need to access the fields of *vlan. * In vlan.c/register_vlan_device, add the var *vlan pointer struct vlan_dev_priv *vlan; to cleanup the code to access the fields of vlan_dev_priv(new_dev). Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
0 files changed, 0 insertions, 0 deletions