userspace/hal: removed unused PORT_OK, PORT_ERROR
They are the usual 0 and -1: some functions returned the names, but
no caller was checking the names. Also, PORT_BUSY (which was 1) was
never used specially, so it is turned into a normal -1 error.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment