Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Minor cosmetics



details:   https://anonhg.NetBSD.org/src-all/rev/b6efea5f4537
branches:  trunk
changeset: 371066:b6efea5f4537
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sun Oct 17 11:54:31 2021 +0200

description:
Minor cosmetics

diffstat:

 sys/dev/usb/usbwifi.h |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (51 lines):

diff -r 232cff092d95 -r b6efea5f4537 sys/dev/usb/usbwifi.h
--- a/sys/dev/usb/usbwifi.h     Sun Oct 17 11:40:17 2021 +0200
+++ b/sys/dev/usb/usbwifi.h     Sun Oct 17 11:54:31 2021 +0200
@@ -240,9 +240,9 @@
 void   usbwifi_unlock_core(struct usbwifi *);
 kmutex_t *usbwifi_mutex_core(struct usbwifi *);
 static __inline__ void
-usbwifi_isowned_core(struct usbwifi *un)
+usbwifi_isowned_core(struct usbwifi *uw)
 {
-       KASSERT(mutex_owned(usbwifi_mutex_core(un)));
+       KASSERT(mutex_owned(usbwifi_mutex_core(uw)));
 }
 
 void   usbwifi_busy(struct usbwifi *);
@@ -252,18 +252,18 @@
 void   usbwifi_unlock_rx(struct usbwifi *);
 kmutex_t *usbwifi_mutex_rx(struct usbwifi *);
 static __inline__ void
-usbwifi_isowned_rx(struct usbwifi *un)
+usbwifi_isowned_rx(struct usbwifi *uw)
 {
-       KASSERT(mutex_owned(usbwifi_mutex_rx(un)));
+       KASSERT(mutex_owned(usbwifi_mutex_rx(uw)));
 }
 
 void   usbwifi_lock_tx(struct usbwifi *);
 void   usbwifi_unlock_tx(struct usbwifi *);
 kmutex_t *usbwifi_mutex_tx(struct usbwifi *);
 static __inline__ void
-usbwifi_isowned_tx(struct usbwifi *un)
+usbwifi_isowned_tx(struct usbwifi *uw)
 {
-       KASSERT(mutex_owned(usbwifi_mutex_tx(un)));
+       KASSERT(mutex_owned(usbwifi_mutex_tx(uw)));
 }
 
 /*
@@ -287,9 +287,9 @@
               int rssi, int csum_flags, uint32_t csum_data, int mbuf_flags);
 
 /* autoconf */
-void   usbwifi_attach(struct usbwifi *un, const char *);
-void   usbwifi_ic_attach(struct usbwifi *un, int, int, int);
-void   usbwifi_attach_finalize(struct usbwifi *un);
+void   usbwifi_attach(struct usbwifi *uw, const char *);
+void   usbwifi_ic_attach(struct usbwifi *uw, int, int, int);
+void   usbwifi_attach_finalize(struct usbwifi *uw);
 int    usbwifi_detach(device_t, int);
 int    usbwifi_activate(device_t, devact_t);
 



Home | Main Index | Thread Index | Old Index