panfrost: Cleanup needless if in create_bo
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 7 Mar 2019 03:24:45 +0000 (03:24 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 12 Mar 2019 02:37:41 +0000 (02:37 +0000)
commitd93c5c314882ea2d5befb6cb14bc8062e57dc703
treeaac9e37f1f4cc7fbda087dd7951272ef56c15168
parent1467deb5432a512845fb646ed7b44a2e2d36dbd6
panfrost: Cleanup needless if in create_bo

I'm not sure why we were checking for these additional criteria (likely
inherited from some other driver); remove the needless checks to cleanup
the code and perhaps fix some bugs down the line.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Tomeu Vizoso <tomeu.visozo@collabora.com>
src/gallium/drivers/panfrost/pan_resource.c