Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Adam Jackson
xserver
Commits
e1ff14a9
Commit
e1ff14a9
authored
Nov 15, 2007
by
Adam Jackson
💣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete some dead code in X -configure.
parent
01cfba75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
hw/xfree86/common/xf86Configure.c
hw/xfree86/common/xf86Configure.c
+0
-29
No files found.
hw/xfree86/common/xf86Configure.c
View file @
e1ff14a9
...
...
@@ -372,9 +372,6 @@ configureDeviceSection (int screennum)
char
identifier
[
16
];
OptionInfoPtr
p
;
int
i
=
0
;
#ifdef DO_FBDEV_PROBE
Bool
foundFBDEV
=
FALSE
;
#endif
parsePrologue
(
XF86ConfDevicePtr
,
XF86ConfDeviceRec
)
/* Move device info to parser structure */
...
...
@@ -443,32 +440,6 @@ configureDeviceSection (int screennum)
}
}
#ifdef DO_FBDEV_PROBE
/* Crude mechanism to auto-detect fbdev (os dependent) */
/* Skip it for now. Options list it anyway, and we can't
* determine which screen/driver this belongs too anyway. */
{
int
fd
;
fd
=
open
(
"/dev/fb0"
,
0
);
if
(
fd
!=
-
1
)
{
foundFBDEV
=
TRUE
;
close
(
fd
);
}
}
if
(
foundFBDEV
)
{
XF86OptionPtr
fbdev
;
fbdev
=
xf86confmalloc
(
sizeof
(
XF86OptionRec
));
memset
((
XF86OptionPtr
)
fbdev
,
0
,
sizeof
(
XF86OptionRec
));
fbdev
->
opt_name
=
"UseFBDev"
;
fbdev
->
opt_val
=
"ON"
;
ptr
->
dev_option_lst
=
(
XF86OptionPtr
)
xf86addListItem
(
(
glp
)
ptr
->
dev_option_lst
,
(
glp
)
fbdev
);
}
#endif
return
ptr
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment