Remove rant. H&E are very competent developers and made a typical bug that anyone could've made. I was just pissed for having lost an hour finding it ;)

svn path=/trunk/; revision=14853
This commit is contained in:
Alex Ionescu 2005-04-28 22:39:50 +00:00
parent 0dd12c923f
commit e606cb3718

View file

@ -2147,11 +2147,6 @@ SpiGetInquiryData(IN PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
((PUCHAR)AdapterBusInfo + sizeof(SCSI_ADAPTER_BUS_INFO) +
(sizeof(SCSI_BUS_DATA) * (AdapterBusInfo->NumberOfBuses - 1)));
/*
* RANT:
* Whoever originally coded this to depend on the IRP's System Buffer to be
* magically cleared for him should never be allowed to code drivers again.
*/
RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
for (Bus = 0; Bus < AdapterBusInfo->NumberOfBuses; Bus++)