summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/softmac/softmac_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/softmac/softmac_fp.c')
-rw-r--r--usr/src/uts/common/io/softmac/softmac_fp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/softmac/softmac_fp.c b/usr/src/uts/common/io/softmac/softmac_fp.c
index 8286ac4013..174a7b2e86 100644
--- a/usr/src/uts/common/io/softmac/softmac_fp.c
+++ b/usr/src/uts/common/io/softmac/softmac_fp.c
@@ -24,6 +24,10 @@
*/
/*
+ * Copyright 2019, Joyent, Inc.
+ */
+
+/*
* Softmac data-path switching:
*
* - Fast-path model
@@ -764,7 +768,7 @@ softmac_wput_single_nondata(softmac_upper_t *sup, mblk_t *mp)
* operation is is serialized by softmac_wput_nondata_task().
*/
if (sup->su_mode != SOFTMAC_FASTPATH) {
- dld_wput(sup->su_wq, mp);
+ (void) dld_wput(sup->su_wq, mp);
return;
}
@@ -986,7 +990,7 @@ softmac_wput_data(softmac_upper_t *sup, mblk_t *mp)
* process of switching.
*/
if (sup->su_mode != SOFTMAC_FASTPATH)
- dld_wput(sup->su_wq, mp);
+ (void) dld_wput(sup->su_wq, mp);
else
(void) softmac_fastpath_wput_data(sup, mp, (uintptr_t)NULL, 0);
}