pthread_attr_setschedpolicy/2-1.c: simplify error handling

Remove all gotos and if there's error in any of pthread
functions exit immediately.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
1 file changed