drivers: net: davinci_cpdma: remove kfree on objects allocated with devm_* apis
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 13 Oct 2014 16:51:05 +0000 (22:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 19:59:37 +0000 (15:59 -0400)
commitff9538b1fce3a3af66578c072259dba7f7b4fe7a
treef00f4d63da247807409c15df56fb81dc24cfa5db
parent2c7c9ea429ba30fe506747b7da110e2212d8fefa
drivers: net: davinci_cpdma: remove kfree on objects allocated with devm_* apis

memories allocated with devm_* apis must not be freed with kfree apis,
so removing the kfree calls

Fixes: e194312854ed ('drivers: net: davinci_cpdma: Convert kzalloc() to devm_kzalloc().')

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c