panfrost: Kill a useless memset(0) in panfrost_create_context()
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 06:05:46 +0000 (08:05 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:27:47 +0000 (10:27 +0200)
commit07085fe8a4c516353454f71d3e34b1dddb844cdd
tree335af1467ddb0da53bece4642c2dbd862a35c8db
parent4eac1b20080dce362ded2cfafde668156480a9a9
panfrost: Kill a useless memset(0) in panfrost_create_context()

ctx is allocated with rzalloc() which takes care of zero-ing the memory
region. No need to call memset(0) on top.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c