]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ea43a46a29eaa072a54b6fd39426629794b7da9
treef00f4d63da247807409c15df56fb81dc24cfa5db
parent27da700f24ed5ad333eb83d4d8e905b4ab15e898
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: 3a080211d203 ('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