mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 09:08:17 +01:00
Remove unnecessary initialize code
This commit is contained in:
parent
d6e5d5a6d4
commit
3828d9cb30
1 changed files with 2 additions and 0 deletions
|
@ -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++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue