[linux] No need for 'lseek' now that we work with stdin.

This commit is contained in:
Solomon Peachy 2012-10-27 10:48:03 -04:00
parent 6c947b609b
commit ba41fba659

View file

@ -154,9 +154,6 @@ int main(int argc, char **argv)
if (paper_code_offset != -1)
paper_code = paper_codes[printer_type][paper_code_offset];
/* Rewind stream to start of first plane. */
lseek(data_fd, init_lengths[printer_type], SEEK_SET);
top:
read(dev_fd, rdbuf, RDBUF_LEN); /* Read the status from printer */