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:
Bart Van Assche
2019-03-29 01:33:54 +00:00
parent fc4c99dccd
commit fd3fa5df34

View File

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