From 33caaa6ee7dce4c1edfb93ebab9572bdd7f294e8 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 5 May 2011 22:47:28 +0000 Subject: [PATCH] Cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3440 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index c1db1f40f..45f2e896b 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -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);