]> 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)
commit8f5a3c01b700d4ae748e54836f41107ed5a8c4da
treeafbd6c083719813f3213f783cdf68b3a551c6dd0
parentf91f305a05f9952367426271b0c36d831b75da5f
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