From 3828d9cb30192c42a14db6f3c35cdb2768701cee Mon Sep 17 00:00:00 2001 From: shakemid Date: Thu, 14 Sep 2017 09:56:38 +0900 Subject: [PATCH] Remove unnecessary initialize code --- pcsensor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcsensor.c b/pcsensor.c index 0aa56d6..499b3e2 100644 --- a/pcsensor.c +++ b/pcsensor.c @@ -316,6 +316,7 @@ int main( int argc, char **argv) { (void) signal(SIGINT, ex_program); answer = calloc(reqIntLen, sizeof(unsigned char)); + /* This looks unnecessary for (i = 0; i < numdev; 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); } + */ do { for (i = 0; i < numdev; i++) {