mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3440 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1377,13 +1377,6 @@ static void vdisk_exec_inquiry(struct scst_cmd *cmd)
|
||||
uint8_t *buf;
|
||||
struct scst_vdisk_dev *virt_dev = cmd->dev->dh_priv;
|
||||
|
||||
/* ToDo: Performance Boost:
|
||||
* 1. remove kzalloc, buf
|
||||
* 2. do all checks before touching *address
|
||||
* 3. zero *address
|
||||
* 4. write directly to *address
|
||||
*/
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
buf = kzalloc(INQ_BUF_SZ, GFP_KERNEL);
|
||||
|
||||
Reference in New Issue
Block a user