mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
qla2x00t-32gbit, target: Remove a kvfree() call
Since the target code never assigns a value to se_sess->sess_cmd_map, calling kvfree on that pointer is not necessary. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8095 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -916,7 +916,6 @@ static struct se_session *sqa_alloc_sesess(scsi_qla_host_t *vha)
|
||||
static void sqa_free_sesess(struct se_session *se_sess)
|
||||
{
|
||||
percpu_ida_destroy(&se_sess->sess_tag_pool);
|
||||
kvfree(se_sess->sess_cmd_map);
|
||||
kfree(se_sess);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user