[PATCH 0/9] UML vector network driver: Adjustments for three function implementations

From: SF Markus Elfring
Date: Sun Mar 11 2018 - 11:15:45 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Mar 2018 16:06:16 +0100

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (9):
Delete unnecessary code in user_init_raw_fds()
Less checks in user_init_raw_fds() after error detection
Adjust an error message in user_init_socket_fds()
Delete an unnecessary check before kfree() in user_init_socket_fds()
Delete two unnecessary checks before freeaddrinfo() in user_init_socket_fds()
Less checks in user_init_socket_fds() after error detection
Adjust an error message in user_init_tap_fds()
Less checks in user_init_tap_fds() after error detection
Delete an unnecessary variable initialisation in user_init_tap_fds()

arch/um/drivers/vector_user.c | 133 +++++++++++++++++++-----------------------
1 file changed, 60 insertions(+), 73 deletions(-)

--
2.16.2