net: vlan: Use sizeof instead of literal number
authorGao Feng <fgao@ikuai8.com>
Tue, 18 Oct 2016 00:57:50 +0000 (08:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 18:23:23 +0000 (14:23 -0400)
commit9c403b6beeeb6cccebb745804820fdccf38125a7
treed8234609f7baf952cf5926b92f9d08ae73315ec0
parent7cafb0ba141e4836604b1c3b35ed6e7a15448d7b
net: vlan: Use sizeof instead of literal number

Use sizeof variable instead of literal number to enhance the readability.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c