net: cleanup unsigned to unsigned int

Use of "unsigned int" is preferred to bare "unsigned" in net tree.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet 2012-04-15 05:58:06 +00:00 committed by David S. Miller
parent 5e73ea1a31
commit 95c9617472
167 changed files with 461 additions and 455 deletions

View file

@ -140,9 +140,9 @@ int ovs_netdev_get_ifindex(const struct vport *vport)
return netdev_vport->dev->ifindex;
}
static unsigned packet_length(const struct sk_buff *skb)
static unsigned int packet_length(const struct sk_buff *skb)
{
unsigned length = skb->len - ETH_HLEN;
unsigned int length = skb->len - ETH_HLEN;
if (skb->protocol == htons(ETH_P_8021Q))
length -= VLAN_HLEN;