radeon_hd: The lack of a default case here was on purpose

This commit is contained in:
Alexander von Gluck IV
2012-02-22 07:50:21 -06:00
parent c937ca1987
commit 43b4a25fe4
@@ -1476,10 +1476,7 @@ encoder_dpms_set(uint8 crtcID, int mode)
else else
index = GetIndexIntoMasterTable(COMMAND, DAC2OutputControl); index = GetIndexIntoMasterTable(COMMAND, DAC2OutputControl);
break; break;
default: // default, none on purpose
ERROR("%s: Unknown encoder object! (%" B_PRIu16 ")\n",
__func__, encoderID);
return;
} }
switch (mode) { switch (mode) {