intel: decoder: simplify creation of struct when 0-allocated
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 23 Sep 2017 23:43:09 +0000 (00:43 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 1 Nov 2017 13:49:12 +0000 (13:49 +0000)
commit1cf1591abd06a79f235d34fe44be2cab64629ca7
treede08e7093bff34bd6b89a8a320a8d738f263e4a3
parenteb00b8b18c63f683ba6fd0f43848365dd84e5a96
intel: decoder: simplify creation of struct when 0-allocated

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/common/gen_decoder.c