removed a tiny bit of code duplication

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17261 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-04-29 16:31:59 +00:00
parent d4d5ef8167
commit 2e964229ed
1 changed files with 1 additions and 3 deletions

View File

@ -119,9 +119,7 @@ BScreen::ID()
status_t
BScreen::WaitForRetrace()
{
if (fScreen != NULL)
return fScreen->WaitForRetrace(B_INFINITE_TIMEOUT);
return B_ERROR;
return WaitForRetrace(B_INFINITE_TIMEOUT);
}