More janitor work. Remove 'defined but not used' warnings from kdrive and some minor cosmetic.
This commit is contained in:
parent
38f8e53668
commit
d73835efda
|
@ -160,7 +160,6 @@ extern Mask xevieFilters[128];
|
|||
extern int xevieEventSent;
|
||||
extern int xevieKBEventSent;
|
||||
int xeviegrabState = 0;
|
||||
static xEvent *xeviexE;
|
||||
#endif
|
||||
|
||||
#include <X11/extensions/XIproto.h>
|
||||
|
|
|
@ -43,6 +43,7 @@ extern CARD32 radeon_cp_microcode[][2];
|
|||
extern CARD32 r200_cp_microcode[][2];
|
||||
extern CARD32 r300_cp_microcode[][2];
|
||||
|
||||
#if DEBUG_FIFO
|
||||
static void
|
||||
ATIDebugFifo(ATIScreenInfo *atis)
|
||||
{
|
||||
|
@ -69,6 +70,7 @@ ATIDebugFifo(ATIScreenInfo *atis)
|
|||
MMIO_IN32(mmio, R128_REG_PC_NGUI_CTLSTAT));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
ATIUploadMicrocode(ATIScreenInfo *atis)
|
||||
|
|
|
@ -155,8 +155,6 @@ EvdevInit (KdPointerInfo *pi)
|
|||
{
|
||||
int i;
|
||||
int fd;
|
||||
int n = 0;
|
||||
char *prot;
|
||||
|
||||
if (!pi->path) {
|
||||
for (i = 0; i < NUM_DEFAULT_EVDEV; i++) {
|
||||
|
@ -277,6 +275,8 @@ EvdevDisable (KdPointerInfo *pi)
|
|||
{
|
||||
Kevdev *ke;
|
||||
|
||||
ke = pi->driverPrivate;
|
||||
|
||||
if (!pi || !pi->driverPrivate)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user