]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit764461a22ae7da18524484e659c7e6947a5397d0
treed8234609f7baf952cf5926b92f9d08ae73315ec0
parentbc0d0149da343ad3e8b0e8b24e40b1d30255b615
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