mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
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:
parent
0dd12c923f
commit
e606cb3718
|
@ -2147,11 +2147,6 @@ SpiGetInquiryData(IN PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
||||||
((PUCHAR)AdapterBusInfo + sizeof(SCSI_ADAPTER_BUS_INFO) +
|
((PUCHAR)AdapterBusInfo + sizeof(SCSI_ADAPTER_BUS_INFO) +
|
||||||
(sizeof(SCSI_BUS_DATA) * (AdapterBusInfo->NumberOfBuses - 1)));
|
(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));
|
RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
|
||||||
|
|
||||||
for (Bus = 0; Bus < AdapterBusInfo->NumberOfBuses; Bus++)
|
for (Bus = 0; Bus < AdapterBusInfo->NumberOfBuses; Bus++)
|
||||||
|
|
Loading…
Reference in a new issue