kvs40xx: Return NULL from read_data()
Functions called by pthread_create()
have the return type (void *)
. However, the return statements in read_data()
use a value of type SANE_Status
rather than a pointer, which causes a compiler warning.
This return value is never actually used, so return NULL instead.