aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/net/if_axe.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2022-10-07 11:31:51 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2022-10-07 11:41:00 +0000
commit62d42655bca1e496160718c1443e67e626e24365 (patch)
tree286288c6e895b5ab0aef29ecdc5d781238849169 /sys/dev/usb/net/if_axe.c
parent8758aabb169d98f08c20f2a1fce5184434b1ddf6 (diff)
downloadsrc-62d42655bca1e496160718c1443e67e626e24365.tar.gz
src-62d42655bca1e496160718c1443e67e626e24365.zip
usb(4): Substitute "unsigned int" using the equivalent and shorter "unsigned" keyword.
MFC after: 1 week Sponsored by: NVIDIA Networking
Diffstat (limited to 'sys/dev/usb/net/if_axe.c')
-rw-r--r--sys/dev/usb/net/if_axe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c
index cd4e27b99a56..257761f4c48b 100644
--- a/sys/dev/usb/net/if_axe.c
+++ b/sys/dev/usb/net/if_axe.c
@@ -217,7 +217,7 @@ static int axe_get_phyno(struct axe_softc *, int);
static int axe_ioctl(struct ifnet *, u_long, caddr_t);
static int axe_rx_frame(struct usb_ether *, struct usb_page_cache *, int);
static int axe_rxeof(struct usb_ether *, struct usb_page_cache *,
- unsigned int offset, unsigned int, struct axe_csum_hdr *);
+ unsigned offset, unsigned, struct axe_csum_hdr *);
static void axe_csum_cfg(struct usb_ether *);
static const struct usb_config axe_config[AXE_N_TRANSFER] = {
@@ -1103,8 +1103,8 @@ axe_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen)
}
static int
-axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned int offset,
- unsigned int len, struct axe_csum_hdr *csum_hdr)
+axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned offset,
+ unsigned len, struct axe_csum_hdr *csum_hdr)
{
struct ifnet *ifp = ue->ue_ifp;
struct mbuf *m;