Remove unnecessary initialize code

This commit is contained in:
shakemid 2017-09-14 09:56:38 +09:00
parent d6e5d5a6d4
commit 3828d9cb30

View file

@ -316,6 +316,7 @@ int main( int argc, char **argv) {
(void) signal(SIGINT, ex_program); (void) signal(SIGINT, ex_program);
answer = calloc(reqIntLen, sizeof(unsigned char)); answer = calloc(reqIntLen, sizeof(unsigned char));
/* This looks unnecessary
for (i = 0; i < numdev; i++) { for (i = 0; i < numdev; i++) {
ini_control_transfer(handles[i]); ini_control_transfer(handles[i]);
@ -329,6 +330,7 @@ int main( int argc, char **argv) {
interrupt_read(handles[i], answer); interrupt_read(handles[i], answer);
interrupt_read(handles[i], answer); interrupt_read(handles[i], answer);
} }
*/
do { do {
for (i = 0; i < numdev; i++) { for (i = 0; i < numdev; i++) {