From 716677e500c1a3f4fa18306506cebdf31d6fe746 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Thu, 10 Nov 2005 19:42:03 +0000 Subject: [PATCH] proposemode B_BAD_VALUE override fixed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14838 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../accelerants/neomagic/ProposeDisplayMode.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/add-ons/accelerants/neomagic/ProposeDisplayMode.c b/src/add-ons/accelerants/neomagic/ProposeDisplayMode.c index 459b196a3b..a510938bf8 100644 --- a/src/add-ons/accelerants/neomagic/ProposeDisplayMode.c +++ b/src/add-ons/accelerants/neomagic/ProposeDisplayMode.c @@ -3,7 +3,7 @@ This file may be used under the terms of the Be Sample Code License. Other authors for nm driver: - Rudolf Cornelissen 4/2003-3/2004 + Rudolf Cornelissen 4/2003-11/2005 */ #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; } - else - { - status = B_OK; - } 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; } - else - { - status = B_OK; - } 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; } - else - { - status = B_OK; - } LOG(4, ("PROPOSEMODE: WARNING: pixelclock deviates too much\n")); }