linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] libsrp: remove dead code
@ 2010-03-15  8:25 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2010-03-15  8:25 UTC (permalink / raw)
  To: Stefani Seibold; +Cc: linux-scsi, kernel-janitors, James E.J. Bottomley

There was a stray kfree() left over from:
4546548789 kfifo: move struct kfifo in place

Signed-off-by: Dan Carpenter <error27@gmail.com>

diff --git a/drivers/scsi/libsrp.c b/drivers/scsi/libsrp.c
index 2277516..c06eaeb 100644
--- a/drivers/scsi/libsrp.c
+++ b/drivers/scsi/libsrp.c
@@ -67,7 +67,6 @@ static int srp_iu_pool_alloc(struct srp_queue *q, size_t max,
 	}
 	return 0;
 
-	kfree(q->items);
 free_pool:
 	kfree(q->pool);
 	return -ENOMEM;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-15  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15  8:25 [patch] libsrp: remove dead code Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).