Lines 1461-1470
pqisrc_free_device(pqisrc_softstate_t * softs,pqi_scsi_dev_t *device)
Link Here
|
1461 |
|
1461 |
|
1462 |
softs->device_list[device->target][device->lun] = NULL; |
1462 |
softs->device_list[device->target][device->lun] = NULL; |
1463 |
|
1463 |
|
1464 |
pqisrc_device_mem_free(softs, device); |
|
|
1465 |
|
1466 |
OS_RELEASE_SPINLOCK(&softs->devlist_lock); |
1464 |
OS_RELEASE_SPINLOCK(&softs->devlist_lock); |
1467 |
|
1465 |
|
|
|
1466 |
pqisrc_device_mem_free(softs, device); |
1468 |
} |
1467 |
} |
1469 |
|
1468 |
|
1470 |
/* Update the newly added devices to the device list */ |
1469 |
/* Update the newly added devices to the device list */ |