drm/ttm: fix unreachable code.
authorDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2009 23:25:45 +0000 (09:25 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2009 23:25:45 +0000 (09:25 +1000)
commit447aeb907e417e0e837b4a4026d5081c88b6e8ca
tree40b9f4fc3f8b1149d0b22dd06aee818721b27de2
parentab2c0672984f7f7ebec6d5f615fd5a6ebad26f3d
drm/ttm: fix unreachable code.

None of the in-tree drivers use user objects yet so this wasn't hitting
us.

Stanse found unreachable code in ttm_bo_add_ttm:
http://decibel.fi.muni.cz/~xslaby/stanse/error.cgi?db=32&id=714#l238

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c