gpu: pvr: fix missing return value warning when CONFIG_BUG=n
authorImre Deak <imre.deak@nokia.com>
Tue, 19 Apr 2011 16:57:42 +0000 (19:57 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:05 +0000 (21:43 +0300)
commit3da17c84d6dcdb0357aa1f2fa175b86af1cef28e
tree344517c3df27fcc3d73f939490f349d34fc53c88
parent3a81dbb2504c2c54e5fdb757a56ca4f98b45d7c7
gpu: pvr: fix missing return value warning when CONFIG_BUG=n

Although the behaviour after these functions return in a BUG() condition
is undefined, we could still make things somewhat more predictable by
returning the same value every time. Also this way we get rid of the
warning.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/pvr_debugfs.c
pvr/sysconfig.c