mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user