From 78a53e201c2691debc57ede24c524118299ab18c Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 3 Apr 2019 10:34:12 -0700 Subject: 10687 Service routine cast changes need smatch fixes Reviewed by: Gergő Doma Approved by: Richard Lowe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/uts/common/io/softmac/softmac_dev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/io/softmac/softmac_dev.c') diff --git a/usr/src/uts/common/io/softmac/softmac_dev.c b/usr/src/uts/common/io/softmac/softmac_dev.c index 3b9c76a7e2..60415e3422 100644 --- a/usr/src/uts/common/io/softmac/softmac_dev.c +++ b/usr/src/uts/common/io/softmac/softmac_dev.c @@ -23,6 +23,9 @@ * Use is subject to license terms. */ +/* + * Copyright 2019, Joyent, Inc. + */ #include #include @@ -662,7 +665,7 @@ softmac_drv_wsrv(queue_t *wq) */ sup->su_tx_inprocess++; mutex_exit(&sup->su_mutex); - dld_wsrv(wq); + (void) dld_wsrv(wq); mutex_enter(&sup->su_mutex); if (--sup->su_tx_inprocess == 0) cv_signal(&sup->su_cv); -- cgit v1.2.3