radeonsi/uvd: clean up si_video_buffer_create
authorBenedikt Schemmer <ben@besd.de>
Fri, 29 Sep 2017 19:02:13 +0000 (21:02 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 30 Sep 2017 17:03:07 +0000 (19:03 +0200)
commit3797a82e785a433245a679b5ad3f84f614380c72
tree171d4b04ede8c7f6ebaf29299ccf242d64445fba
parente9cf64a67cac9cac34d17fcfc220f5e431c048c0
radeonsi/uvd: clean up si_video_buffer_create

V2: remove code duplication and one unnessecary variable, minor whitespace fix

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_uvd.c