proposemode B_BAD_VALUE override fixed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14838 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-11-10 19:42:03 +00:00
parent cf12db4b0f
commit 716677e500
@@ -3,7 +3,7 @@
This file may be used under the terms of the Be Sample Code License. This file may be used under the terms of the Be Sample Code License.
Other authors for nm driver: Other authors for nm driver:
Rudolf Cornelissen 4/2003-3/2004 Rudolf Cornelissen 4/2003-11/2005
*/ */
#define MODULE_BIT 0x00400000 #define MODULE_BIT 0x00400000
@@ -194,10 +194,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: horizontal timing deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: horizontal timing deviates too much\n"));
} }
@@ -219,10 +215,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: vertical timing deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: vertical timing deviates too much\n"));
} }
@@ -246,10 +238,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: pixelclock deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: pixelclock deviates too much\n"));
} }