gpu.c: remove minor code duplication
commit0661762fe86a0f0c126908b347ab91a1fcd69e2b
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Dec 2015 15:40:44 +0000 (18 16:40 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Dec 2015 15:40:44 +0000 (18 16:40 +0100)
treef17832aead3bae060c4e13b63e1849f7b9185fc0
parent0cca6d5d6381630cbaa91f21754d85c7d6c98511
gpu.c: remove minor code duplication

In particular, the implementations of subtree_has_permutable_bands and
has_any_permutable_node are almost identical.  Implement the second
in terms of the first.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c