Skip to content

Commit

Permalink
input-raw: remove errror message on each negative return from read()
Browse files Browse the repository at this point in the history
-EAGAIN for example would be a valid return code. We can't confuse
users in that case.
  • Loading branch information
merge committed Mar 10, 2017
1 parent 6696f5c commit dc2fdaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/input-raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ static int ts_input_read_mt(struct tslib_module_info *inf,
i->ev,
sizeof(struct input_event) * NUM_EVENTS_READ);
if (rd < (int) sizeof(struct input_event)) {
perror("tslib: error reading input event");
total = -1;
break;
}
Expand Down

0 comments on commit dc2fdaf

Please sign in to comment.