From a7eca7289445626fae9626c7b7c7860f3e8b9b18 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 12 Jun 2008 11:35:40 +0000 Subject: [PATCH] Patch from Arne Redlich : Removes unneeded kfree() Signed-off-by: Arne Redlich git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@407 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- mpt/mpt_scst.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mpt/mpt_scst.c b/mpt/mpt_scst.c index c0f03aca1..34aa89601 100644 --- a/mpt/mpt_scst.c +++ b/mpt/mpt_scst.c @@ -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));