[VLAN]: Avoid expensive divides
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 9 Jan 2008 07:54:43 +0000 (23:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:06 +0000 (15:01 -0800)
We can avoid divides (as seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on
x86) changing vlan_group_get_device()/vlan_group_set_device() id
parameter from signed to unsigned.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h

Simple merge