Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring@users.sourceforge.net>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] net-i40e: Reconsider further usage of variable "i" in i40e_vc_get_vf_resources_msg()
Date: Fri, 1 Jan 2016 15:51:11 +0100	[thread overview]
Message-ID: <5686925F.5020508@users.sourceforge.net> (raw)
In-Reply-To: <56868E0B.5040602@users.sourceforge.net>

Hello,

I have taken another look at the implementation of the
function "i40e_vc_get_vf_resources_msg". I find the use of the variable "i"
strange there. It seems that the value from the increment operation in an
if branch is not reused so far.

I would appreciate a further clarification.
Can this variable be eventually deleted?

Regards,
Markus

  reply	other threads:[~2016-01-01 14:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <566ABCD9.1060404@users.sourceforge.net>
2016-01-01 14:32 ` [Intel-wired-lan] [PATCH] net-i40e: Replace variable initialisations by assignments in i40e_vc_get_vf_resources_msg() SF Markus Elfring
2016-01-01 14:51   ` SF Markus Elfring [this message]
2016-01-08 20:51     ` [Intel-wired-lan] net-i40e: Reconsider further usage of variable "i" " Nelson, Shannon
2016-01-07 22:43   ` [Intel-wired-lan] [PATCH] net-i40e: Replace variable initialisations by assignments " Nelson, Shannon
2016-01-08 10:42   ` Jeff Kirsher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5686925F.5020508@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox