]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/decnet/dn_nsp_out.c
net: cleanup unsigned to unsigned int
[mirror_ubuntu-bionic-kernel.git] / net / decnet / dn_nsp_out.c
index bd78836a81eb3fe1965d5abdd4fcff62e11b9f4b..b952f88d9c1f668a1a47e3557171c0df1c9e5e9a 100644 (file)
@@ -52,7 +52,6 @@
 #include <linux/route.h>
 #include <linux/slab.h>
 #include <net/sock.h>
-#include <asm/system.h>
 #include <linux/fcntl.h>
 #include <linux/mm.h>
 #include <linux/termios.h>
@@ -210,7 +209,7 @@ static void dn_nsp_rtt(struct sock *sk, long rtt)
  *
  * Returns: The number of times the packet has been sent previously
  */
-static inline unsigned dn_nsp_clone_and_send(struct sk_buff *skb,
+static inline unsigned int dn_nsp_clone_and_send(struct sk_buff *skb,
                                             gfp_t gfp)
 {
        struct dn_skb_cb *cb = DN_SKB_CB(skb);
@@ -241,7 +240,7 @@ void dn_nsp_output(struct sock *sk)
 {
        struct dn_scp *scp = DN_SK(sk);
        struct sk_buff *skb;
-       unsigned reduce_win = 0;
+       unsigned int reduce_win = 0;
 
        /*
         * First we check for otherdata/linkservice messages