kvs40xx: fix [-Wunused-function] compiler warning

This rather unceremoniously removed the function.  Note that a near copy
can be found in the kvs20xx backend code.
merge-requests/1/head
Olaf Meeuwissen 2016-07-18 20:55:14 +09:00
rodzic effc26e402
commit f6c8be1380
1 zmienionych plików z 0 dodań i 22 usunięć

Wyświetl plik

@ -534,28 +534,6 @@ kvs40xx_read_image_data (struct scanner * s, unsigned page, unsigned side,
return status;
}
static SANE_Status
get_adjust_data (struct scanner * s, unsigned *dummy_length)
{
SANE_Status status;
struct cmd c = {
{0}, 10,
NULL, 40,
CMD_IN
};
u16 *data;
c.cmd[0] = GET_ADJUST_DATA;
c.cmd[2] = 0x9b;
c.cmd[8] = 40;
status = send_command (s, &c);
if (status)
return status;
data = (u16 *) c.data;
*dummy_length = be2cpu16 (data[0]);
return SANE_STATUS_GOOD;
}
SANE_Status
read_support_info (struct scanner * s, struct support_info * inf)
{