From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-scsi@vger.kernel.org,
James Smart <james.smart@broadcom.com>,
Colin King <colin.king@canonical.com>,
"James E . J . Bottomley" <jejb@linux.ibm.com>,
Dick Kennedy <dick.kennedy@broadcom.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] scsi: lpfc: remove redundant initialization to variable rc
Date: Tue, 12 May 2020 03:28:28 +0000 (UTC) [thread overview]
Message-ID: <158925392374.17325.12424804060546822236.b4-ty@oracle.com> (raw)
In-Reply-To: <20200507203111.64709-1-colin.king@canonical.com>
On Thu, 7 May 2020 21:31:11 +0100, Colin King wrote:
> The variable rc is being initialized with a value that is never read
> and it is being updated later with a new value. The initialization is
> redundant and can be removed.
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: lpfc: Remove redundant initialization to variable rc
https://git.kernel.org/mkp/scsi/c/6e27a86aed97
--
Martin K. Petersen Oracle Linux Engineering
WARNING: multiple messages have this Message-ID (diff)
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-scsi@vger.kernel.org,
James Smart <james.smart@broadcom.com>,
Colin King <colin.king@canonical.com>,
"James E . J . Bottomley" <jejb@linux.ibm.com>,
Dick Kennedy <dick.kennedy@broadcom.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] scsi: lpfc: remove redundant initialization to variable rc
Date: Tue, 12 May 2020 03:28:28 +0000 [thread overview]
Message-ID: <158925392374.17325.12424804060546822236.b4-ty@oracle.com> (raw)
In-Reply-To: <20200507203111.64709-1-colin.king@canonical.com>
On Thu, 7 May 2020 21:31:11 +0100, Colin King wrote:
> The variable rc is being initialized with a value that is never read
> and it is being updated later with a new value. The initialization is
> redundant and can be removed.
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: lpfc: Remove redundant initialization to variable rc
https://git.kernel.org/mkp/scsi/c/6e27a86aed97
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2020-05-12 3:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 20:31 [PATCH] scsi: lpfc: remove redundant initialization to variable rc Colin King
2020-05-07 20:31 ` Colin King
2020-05-12 3:28 ` Martin K. Petersen [this message]
2020-05-12 3:28 ` Martin K. Petersen
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=158925392374.17325.12424804060546822236.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=colin.king@canonical.com \
--cc=dick.kennedy@broadcom.com \
--cc=james.smart@broadcom.com \
--cc=jejb@linux.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.