remove unused midi driver status functions

This commit is contained in:
derselbst 2018-07-21 10:43:38 +02:00
parent 47c4a5b1c7
commit 063ab5d7d2
2 changed files with 0 additions and 20 deletions

View file

@ -66,8 +66,6 @@ typedef struct
} fluid_midishare_midi_driver_t; } fluid_midishare_midi_driver_t;
static int fluid_midishare_midi_driver_status(fluid_midi_driver_t *p);
static void fluid_midishare_midi_driver_receive(short ref); static void fluid_midishare_midi_driver_receive(short ref);
#if defined(MIDISHARE_DRIVER) #if defined(MIDISHARE_DRIVER)
@ -199,16 +197,6 @@ void delete_fluid_midishare_midi_driver(fluid_midi_driver_t *p)
} }
/*
* fluid_midishare_midi_driver_status
*/
int fluid_midishare_midi_driver_status(fluid_midi_driver_t *p)
{
fluid_midishare_midi_driver_t *dev = (fluid_midishare_midi_driver_t *) p;
return dev->status;
}
/* /*
* fluid_midishare_keyoff_task * fluid_midishare_keyoff_task
*/ */

View file

@ -91,7 +91,6 @@ typedef struct
fluid_midi_parser_t *parser; fluid_midi_parser_t *parser;
} fluid_oss_midi_driver_t; } fluid_oss_midi_driver_t;
static int fluid_oss_midi_driver_status(fluid_midi_driver_t *p);
static fluid_thread_return_t fluid_oss_midi_run(void *d); static fluid_thread_return_t fluid_oss_midi_run(void *d);
@ -782,11 +781,4 @@ fluid_oss_midi_run(void *d)
return FLUID_THREAD_RETURN_VALUE; return FLUID_THREAD_RETURN_VALUE;
} }
int
fluid_oss_midi_driver_status(fluid_midi_driver_t *p)
{
fluid_oss_midi_driver_t *dev = (fluid_oss_midi_driver_t *) p;
return dev->status;
}
#endif /*#if OSS_SUPPORT */ #endif /*#if OSS_SUPPORT */