trivial: chardev.c: rename local variables
Two different functions use the "can_read" and "can_write" names in
different ways: integer flags or function pointers. This is confusing.
So now flags are called "ret_ok", leavning can_read as the name of
a function pointer and nothing else.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment