Removed useless code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37205 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -69,10 +69,7 @@ ccb_low_alloc_hook(void *block, void *arg)
|
|||||||
scsi_ccb *ccb = (scsi_ccb *)block;
|
scsi_ccb *ccb = (scsi_ccb *)block;
|
||||||
scsi_bus_info *bus = (scsi_bus_info *)arg;
|
scsi_bus_info *bus = (scsi_bus_info *)arg;
|
||||||
status_t res;
|
status_t res;
|
||||||
physical_entry map[2];
|
|
||||||
|
|
||||||
get_memory_map(ccb, sizeof(*ccb), map, 2);
|
|
||||||
// TODO: Since map is not used, this is useless!
|
|
||||||
ccb->bus = bus;
|
ccb->bus = bus;
|
||||||
ccb->path_id = bus->path_id;
|
ccb->path_id = bus->path_id;
|
||||||
ccb->state = SCSI_STATE_FREE;
|
ccb->state = SCSI_STATE_FREE;
|
||||||
|
|||||||
Reference in New Issue
Block a user