From 6ad223d0816edfa3e0f00a25f71f2fa4a43a8dc9 Mon Sep 17 00:00:00 2001 From: Rupesh Gujare Date: Wed, 25 Apr 2012 23:54:58 +0100 Subject: [PATCH] --- yaml --- r: 304483 b: refs/heads/master c: 8176df8e95df4c867457076190cfb18f2d7ff18c h: refs/heads/master i: 304481: 99b46f68f10572fea8051b01fd011959f06c2b8f 304479: d4256c0e9ced32d76f66ddaf0310c6037663355f v: v3 --- [refs] | 2 +- trunk/drivers/staging/ozwpan/ozpd.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 60ec654032bf..cc86bfcf4430 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 25958ce32cd57dd91b42fa414b101d127e818c84 +refs/heads/master: 8176df8e95df4c867457076190cfb18f2d7ff18c diff --git a/trunk/drivers/staging/ozwpan/ozpd.c b/trunk/drivers/staging/ozwpan/ozpd.c index 2b45d3d1800c..04cd57f2a6da 100644 --- a/trunk/drivers/staging/ozwpan/ozpd.c +++ b/trunk/drivers/staging/ozwpan/ozpd.c @@ -383,8 +383,6 @@ static void oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f) pd->tx_pool = &f->link; pd->tx_pool_count++; f = 0; - } else { - kfree(f); } spin_unlock_bh(&pd->tx_frame_lock); if (f)