]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/bridge/br_forward.c
net: cleanup unsigned to unsigned int
[karo-tx-linux.git] / net / bridge / br_forward.c
index 61f65344e711fc4b87856889c8d83e89d0d911d6..aab8470707c4aa2720e37984e9bcd1fcf92fe698 100644 (file)
@@ -34,7 +34,7 @@ static inline int should_deliver(const struct net_bridge_port *p,
                p->state == BR_STATE_FORWARDING);
 }
 
-static inline unsigned packet_length(const struct sk_buff *skb)
+static inline unsigned int packet_length(const struct sk_buff *skb)
 {
        return skb->len - (skb->protocol == htons(ETH_P_8021Q) ? VLAN_HLEN : 0);
 }