Date: Wed, 11 Nov 2009 19:45:43 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 170503 for review Message-ID: <200911111945.nABJjhEc014970@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170503 Change 170503 by mav@mav_mavbook on 2009/11/11 19:45:37 Remove unused variable qfrozen_cnt. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#42 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#42 (text+ko) ==== @@ -985,7 +985,6 @@ int sense; struct scsi_start_stop_unit *scsi_cmd; u_int32_t relsim_flags, timeout; - u_int32_t qfrozen_cnt; int xpt_done_ccb; xpt_done_ccb = FALSE; @@ -1002,11 +1001,11 @@ * Unfreeze the queue once if it is already frozen.. */ if (frozen != 0) { - qfrozen_cnt = cam_release_devq(done_ccb->ccb_h.path, - /*relsim_flags*/0, - /*openings*/0, - /*timeout*/0, - /*getcount_only*/0); + cam_release_devq(done_ccb->ccb_h.path, + /*relsim_flags*/0, + /*openings*/0, + /*timeout*/0, + /*getcount_only*/0); } switch (status) { @@ -1186,11 +1185,11 @@ if (done_ccb->ccb_h.retry_count > 0) done_ccb->ccb_h.retry_count--; - qfrozen_cnt = cam_release_devq(done_ccb->ccb_h.path, - /*relsim_flags*/relsim_flags, - /*openings*/0, - /*timeout*/timeout, - /*getcount_only*/0); + cam_release_devq(done_ccb->ccb_h.path, + /*relsim_flags*/relsim_flags, + /*openings*/0, + /*timeout*/timeout, + /*getcount_only*/0); if (xpt_done_ccb == TRUE) (*done_ccb->ccb_h.cbfcnp)(periph, done_ccb); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911111945.nABJjhEc014970>