PERFORCE change 170503 for review

View: New views
1 Messages — Rating Filter:   Alert me  

PERFORCE change 170503 for review

by Alexander Motin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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);
 }
_______________________________________________
p4-projects@... mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@..."