genesys: Remove unused command set name property

merge-requests/196/head
Povilas Kanapickas 2019-09-18 23:31:47 +03:00
rodzic 60534b89ae
commit 1bab4037f5
7 zmienionych plików z 0 dodań i 20 usunięć

Wyświetl plik

@ -2654,8 +2654,6 @@ static void gl124_update_hardware_sensors(Genesys_Scanner* s)
/** the gl124 command set */
Genesys_Command_Set gl124_cmd_set = {
"gl124-generic", /* the name of this set */
[](Genesys_Device* dev) -> bool { (void) dev; return true; },
gl124_init,

Wyświetl plik

@ -3773,8 +3773,6 @@ static void gl646_search_strip(Genesys_Device* dev, const Genesys_Sensor& sensor
/** the gl646 command set */
Genesys_Command_Set gl646_cmd_set = {
"gl646-generic", /* the name of this set */
gl646_needs_home_before_init_regs_for_scan,
gl646_init,

Wyświetl plik

@ -4354,8 +4354,6 @@ static void gl841_send_shading_data(Genesys_Device* dev, const Genesys_Sensor& s
/** the gl841 command set */
Genesys_Command_Set gl841_cmd_set = {
"gl841-generic", /* the name of this set */
[](Genesys_Device* dev) -> bool { (void) dev; return true; },
gl841_init,

Wyświetl plik

@ -3431,8 +3431,6 @@ static void gl843_send_shading_data(Genesys_Device* dev, const Genesys_Sensor& s
/** the gl843 command set */
Genesys_Command_Set gl843_cmd_set = {
"gl843-generic", /* the name of this set */
[](Genesys_Device* dev) -> bool { (void) dev; return true; },
gl843_init,

Wyświetl plik

@ -2474,8 +2474,6 @@ static void gl846_coarse_gain_calibration(Genesys_Device* dev, const Genesys_Sen
/** the gl846 command set */
Genesys_Command_Set gl846_cmd_set = {
"gl846-generic", /* the name of this set */
nullptr,
gl846_init,

Wyświetl plik

@ -2579,8 +2579,6 @@ static void gl847_coarse_gain_calibration(Genesys_Device* dev, const Genesys_Sen
/** the gl847 command set */
Genesys_Command_Set gl847_cmd_set = {
"gl847-generic", /* the name of this set */
nullptr,
gl847_init,

Wyświetl plik

@ -219,14 +219,6 @@ typedef struct Genesys_Calibration_Cache Genesys_Calibration_Cache;
*/
struct Genesys_Command_Set
{
/** @name Identification */
/*@{ */
/** Name of this command set */
SANE_String_Const name;
/*@} */
bool (*needs_home_before_init_regs_for_scan) (Genesys_Device* dev);
/** For ASIC initialization */