dediprog: Fix segmentation fault on no device found

libusb_exit() call is done by dediprog_open() under the
ret == 1 condition. Removing this line has no impact on
any flow and side effect of the program.

Change-Id: I38b3f3ee3f9d46845df1404791f4a4782320aa7c
Signed-off-by: Medicine Yeh <>
Reviewed-by: Angel Pons <>
Reviewed-by: Edward O'Callaghan <>
Reviewed-by: Stefan Reinauer <>
Tested-by: build bot (Jenkins) <>
1 file changed