git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3440 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-05-05 22:47:28 +00:00
parent a0a388396f
commit 33caaa6ee7

View File

@@ -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);