Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Xf86 Video Fbturbo
Commits
3cf99231
Commit
3cf99231
authored
Jan 05, 2017
by
Adam Jackson
Browse files
Remove dead pix24bpp variable
Signed-off-by:
Adam Jackson
<
ajax@redhat.com
>
parent
8c03e347
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fbdev.c
View file @
3cf99231
...
...
@@ -76,12 +76,6 @@ enum { FBDEV_ROTATE_NONE=0, FBDEV_ROTATE_CW=270, FBDEV_ROTATE_UD=180, FBDEV_ROTA
/* -------------------------------------------------------------------- */
/*
* This is intentionally screen-independent. It indicates the binding
* choice made in the first PreInit.
*/
static
int
pix24bpp
=
0
;
#define FBDEV_VERSION 4000
#define FBDEV_NAME "FBDEV"
#define FBDEV_DRIVER_NAME "fbdev"
...
...
@@ -493,10 +487,6 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
return
FALSE
;
xf86PrintDepthBpp
(
pScrn
);
/* Get the depth24 pixmap format */
if
(
pScrn
->
depth
==
24
&&
pix24bpp
==
0
)
pix24bpp
=
xf86GetBppFromDepth
(
pScrn
,
24
);
/* color weight */
if
(
pScrn
->
depth
>
8
)
{
rgb
zeros
=
{
0
,
0
,
0
};
...
...
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