Date: Fri, 14 Feb 2020 00:13:00 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r357896 - head/sys/cam Message-ID: <202002140013.01E0D0hv032660@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Feb 14 00:12:59 2020 New Revision: 357896 URL: https://svnweb.freebsd.org/changeset/base/357896 Log: xpt_release_simq_timeout is unused. Remove it. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c ============================================================================== --- head/sys/cam/cam_xpt.c Thu Feb 13 23:42:09 2020 (r357895) +++ head/sys/cam/cam_xpt.c Fri Feb 14 00:12:59 2020 (r357896) @@ -248,7 +248,6 @@ static void xpt_run_allocq(struct cam_periph *periph, static void xpt_run_allocq_task(void *context, int pending); static void xpt_run_devq(struct cam_devq *devq); static callout_func_t xpt_release_devq_timeout; -static void xpt_release_simq_timeout(void *arg) __unused; static void xpt_acquire_bus(struct cam_eb *bus); static void xpt_release_bus(struct cam_eb *bus); static uint32_t xpt_freeze_devq_device(struct cam_ed *dev, u_int count); @@ -4619,18 +4618,6 @@ xpt_release_simq(struct cam_sim *sim, int run_queue) } } mtx_unlock(&devq->send_mtx); -} - -/* - * XXX Appears to be unused. - */ -static void -xpt_release_simq_timeout(void *arg) -{ - struct cam_sim *sim; - - sim = (struct cam_sim *)arg; - xpt_release_simq(sim, /* run_queue */ TRUE); } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002140013.01E0D0hv032660>