]> git.baikalelectronics.ru Git - kernel.git/commit
e100: Cocci spatch "pool_zalloc-simple"
authorThomas Meyer <thomas@m3y3r.de>
Thu, 21 Sep 2017 06:15:26 +0000 (08:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:26:59 +0000 (15:26 -0700)
commiteec3005d57e670ef50a43d788b69534097285370
treeafbd6c083719813f3213f783cdf68b3a551c6dd0
parenta2939a8b8c6bf5d860851e4d8544bde8f0a3110b
e100: Cocci spatch "pool_zalloc-simple"

Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e100.c