Patch from Arne Redlich <agr@powerkom-dd.de>:

Removes unneeded kfree()

Signed-off-by: Arne Redlich <agr@powerkom-dd.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@407 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-06-12 11:35:40 +00:00
parent 0aca68d080
commit a7eca72894
-1
View File
@@ -4592,7 +4592,6 @@ mpt_stm_adapter_install(MPT_ADAPTER *ioc)
if (priv == NULL) {
printk(KERN_ERR MYNAM
":%s failed to allocate private structure\n", ioc->name);
kfree(priv);
return (-1);
}
memset(priv, 0, sizeof(*priv));