summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-08-28 23:08:20 -0400
committerAlex Deucher <alex@botch2.(none)>2007-08-28 23:08:20 -0400
commit0d9087bc60bb95c770b899cfed29699c02bdac49 (patch)
tree08913516b88cc3ac8b27bc1890c4127d67c6a2b7 /src/radeon_output.c
parent673f799729824f4439dd5f681f75dd5aab50947f (diff)
RADEON: remove some cruft forgotten in a previous commit
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 4df2597..c9b2ec7 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1973,10 +1973,7 @@ radeon_set_property(xf86OutputPtr output, Atom property,
if (value->type != XA_STRING || value->format != 8)
return FALSE;
s = (char*)value->data;
- if (value->size == strlen("default") && !strncmp("default", s, strlen("default"))) {
- radeon_output->tvStd = radeon_output->default_tvStd;
- return TRUE;
- } else if (value->size == strlen("ntsc") && !strncmp("ntsc", s, strlen("ntsc"))) {
+ if (value->size == strlen("ntsc") && !strncmp("ntsc", s, strlen("ntsc"))) {
if (radeon_output->SupportedTVStds & TV_STD_NTSC) {
radeon_output->tvStd = TV_STD_NTSC;
return TRUE;