diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-09 10:54:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 02:01:06 +0300 |
commit | f0b5a0dcf125ce43855961ef4f965a91112bea23 (patch) | |
tree | bf8f14b2e7d7614a26a523929a515f1ee2052222 /net/appletalk/sysctl_net_atalk.c | |
parent | 4cec72c890d3a465eed08c24a4a2bfe25650318f (diff) | |
download | linux-f0b5a0dcf125ce43855961ef4f965a91112bea23.tar.xz |
[VLAN]: Avoid expensive divides
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>
Diffstat (limited to 'net/appletalk/sysctl_net_atalk.c')
0 files changed, 0 insertions, 0 deletions