Fix error being reported twice
authorJakub Tyszkowski <tyszja@gmail.com>
Sat, 7 Mar 2015 17:29:38 +0000 (18:29 +0100)
committerJakub Tyszkowski <tyszja@gmail.com>
Sat, 7 Mar 2015 18:02:44 +0000 (19:02 +0100)
commit527de547088056f3bf206dc5dacb273704ff5300
tree1d99a173fe5ef483912ced63ed19700667c8439e
parent873fb352fcad4cf9ff8380d3bcda9242742acb3f
Fix error being reported twice

If 'stlink_v1_open_inner' returns NULL then 'stlink_v1_open' prints
to stderr thus there is no need for the former one to print it also.

This removes 'Error: could not open stlink device' being printed
twice.
src/stlink-sg.c