* [patch] libsrp: remove dead code
@ 2010-03-15 8:25 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread
* [patch] libsrp: remove dead code
@ 2010-03-15 8:25 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread
end of thread, other threads:[~2010-03-15 8:26 UTC | newest]
Thread overview: 2+ messages (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
2010-03-15 8:25 ` Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.