Removed inactive test code from telltoc.c
This commit is contained in:
parent
05e888932b
commit
2527b69acb
@ -119,10 +119,6 @@ int telltoc_aquire_by_adr(char *drive_adr)
|
|||||||
int ret;
|
int ret;
|
||||||
char libburn_drive_adr[BURN_DRIVE_ADR_LEN];
|
char libburn_drive_adr[BURN_DRIVE_ADR_LEN];
|
||||||
|
|
||||||
/* <<< ts A70907 FOR TESTING ONLY !
|
|
||||||
struct burn_drive_info *test_drive_list;
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This tries to resolve links or alternative device files */
|
/* This tries to resolve links or alternative device files */
|
||||||
ret = burn_drive_convert_fs_adr(drive_adr, libburn_drive_adr);
|
ret = burn_drive_convert_fs_adr(drive_adr, libburn_drive_adr);
|
||||||
if (ret<=0) {
|
if (ret<=0) {
|
||||||
@ -131,10 +127,6 @@ int telltoc_aquire_by_adr(char *drive_adr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* <<< ts A70907 FOR TESTING ONLY !
|
|
||||||
ret = burn_drive_scan_and_grab(&test_drive_list, "/dev/sg2", 1);
|
|
||||||
*/
|
|
||||||
|
|
||||||
fprintf(stderr,"Aquiring drive '%s' ...\n", libburn_drive_adr);
|
fprintf(stderr,"Aquiring drive '%s' ...\n", libburn_drive_adr);
|
||||||
ret = burn_drive_scan_and_grab(&drive_list, libburn_drive_adr, 1);
|
ret = burn_drive_scan_and_grab(&drive_list, libburn_drive_adr, 1);
|
||||||
|
|
||||||
@ -146,10 +138,6 @@ int telltoc_aquire_by_adr(char *drive_adr)
|
|||||||
drive_is_grabbed = 1;
|
drive_is_grabbed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* <<< ts A70907 FOR TESTING ONLY !
|
|
||||||
burn_drive_info_free(test_drive_list);
|
|
||||||
*/
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user