Add pool_get_zero, pool_get_aligned_zero macros 81/15381/2
authorDave Barach <dave@barachs.net>
Thu, 18 Oct 2018 19:37:49 +0000 (15:37 -0400)
committerDamjan Marion <dmarion@me.com>
Fri, 19 Oct 2018 07:06:07 +0000 (07:06 +0000)
Shorthand for the pattern:

   pool_get (<pool>, ep);
   memset (ep, 0, sizeof(*ep));

Should have done this years ago.

Change-Id: Ideeb27a79ff4ca3e9a077c973b297671d1fa2d26
Signed-off-by: Dave Barach <dave@barachs.net>

No differences found