diff --git a/src/add-ons/accelerants/nvidia/ProposeDisplayMode.c b/src/add-ons/accelerants/nvidia/ProposeDisplayMode.c index 0313e3af5c..5787c76f9e 100644 --- a/src/add-ons/accelerants/nvidia/ProposeDisplayMode.c +++ b/src/add-ons/accelerants/nvidia/ProposeDisplayMode.c @@ -326,10 +326,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")); } @@ -351,10 +347,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")); } @@ -379,10 +371,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")); }