mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Remove more exit calls
This patch removes the remaining exit calls from - sp_openserport - sp_opensocket - sp_docommand - internal_init Almost all of this was done by Niklas. Corresponding to flashrom svn r1557. Signed-off-by: Niklas Söderlund <niso@kth.se> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:

committed by
Stefan Tauner

parent
00ec027368
commit
2a95e8713b
@ -39,7 +39,8 @@ static int buspirate_serialport_setup(char *dev)
|
||||
{
|
||||
/* 115200bps, 8 databits, no parity, 1 stopbit */
|
||||
sp_fd = sp_openserport(dev, 115200);
|
||||
/* FIXME: Error checking */
|
||||
if (sp_fd < 0)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
|
Reference in New Issue
Block a user