Skip to content

Commit

Permalink
linear: remove annoying debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
merge committed Mar 11, 2017
1 parent 220e9cb commit a74c78b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugins/linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,8 @@ static int linear_read_mt(struct tslib_module_info *info,
int nr;

ret = info->next->ops->read_mt(info->next, samp, max_slots, nr_samples);
if (ret < 0) {
#ifdef DEBUG
fprintf(stderr, "linear: couldn't read a sample\n");
#endif /*DEBUG*/
if (ret < 0)
return ret;
}

for (nr = 0; nr < ret; nr++) {
#ifdef DEBUG
Expand Down

0 comments on commit a74c78b

Please sign in to comment.