Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303969

RE: [PATCH] net-i40e: Replace variable initialisations by assignments in i40e_vc_get_vf_resources_msg()

From "Nelson, Shannon" <shannon.nelson@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH] net-i40e: Replace variable initialisations by assignments in i40e_vc_get_vf_resources_msg()
Date 2016-01-07 23:50 +0100
Message-ID <qOrxv-67X-7@gated-at.bofh.it> (permalink)
References <qEuGl-43C-5@gated-at.bofh.it> <qM922-3Ch-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: SF Markus Elfring [mailto:elfring@users.sourceforge.net]
> Sent: Friday, January 01, 2016 6:33 AM
> 
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 1 Jan 2016 15:11:09 +0100
> 
> Replace explicit initialisations for four local variables at the beginning
> by assignments that will only be performed if the corresponding code
> will really be executed.
> 
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---

This seems to me to be unnecessary fussing with the code.

sln

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

RE: [PATCH] net-i40e: Replace variable initialisations by  assignments in i40e_vc_get_vf_resources_msg() "Nelson, Shannon" <shannon.nelson@intel.com> - 2016-01-07 23:50 +0100

csiph-web