lkml.org 
[lkml]   [2018]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] UML vector network driver: Adjustments for three function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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

\
 
 \ /
  Last update: 2018-03-11 16:16    [W:0.073 / U:6.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site