[haiku-commits] Change in haiku[master]: virtio_scsi: Remove unused fExpectsInterrupt and its spinlock.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 1 Sep 2019 21:55:38 +0000

From Michael Lotz <mmlr@xxxxxxxx>:

Michael Lotz has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1812 ;)


Change subject: virtio_scsi: Remove unused fExpectsInterrupt and its spinlock.
......................................................................

virtio_scsi: Remove unused fExpectsInterrupt and its spinlock.

The value is never actually checked. The use of a condition variable
makes it redundant since it will already either have a waiting entry,
or not.
---
M src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp
M src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIPrivate.h
2 files changed, 1 insertion(+), 14 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/12/1812/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1812
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Iafaecb7f9e56a2cf8932e05b82aad2b350fbce1f
Gerrit-Change-Number: 1812
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Lotz <mmlr@xxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: virtio_scsi: Remove unused fExpectsInterrupt and its spinlock. - Gerrit