kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Remove unused command set name property
rodzic
60534b89ae
commit
1bab4037f5
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
Ładowanie…
Reference in New Issue