All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pat Riehecky <riehecky@fnal.gov>
To: <linux-kernel@vger.kernel.org>
Cc: <rubini@gnudd.com>, <drivers_other@kernel-bugs.osdl.org>,
	<gregkh@linuxfoundation.org>, <federico.vaga@cern.ch>,
	Pat Riehecky <riehecky@fnal.gov>
Subject: [PATCH 1/5] drivers/fmc: remove unused variable
Date: Fri, 30 Jun 2017 11:15:02 -0500	[thread overview]
Message-ID: <3a84214b4eb753fc3a2e18ae76f2f9bcba22cad9.1498838809.git.riehecky@fnal.gov> (raw)
In-Reply-To: <cover.1498838809.git.riehecky@fnal.gov>

Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
---
 drivers/fmc/fru-parse.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/fmc/fru-parse.c b/drivers/fmc/fru-parse.c
index cb46263..eb21480 100644
--- a/drivers/fmc/fru-parse.c
+++ b/drivers/fmc/fru-parse.c
@@ -31,12 +31,11 @@ static char *__fru_alloc_get_tl(struct fru_common_header *header, int nr)
 {
 	struct fru_type_length *tl;
 	char *res;
-	int len;

 	tl = __fru_get_board_tl(header, nr);
 	if (!tl)
 		return NULL;
-	len = fru_strlen(tl);
+
 	res = fru_alloc(fru_strlen(tl) + 1);
 	if (!res)
 		return NULL;
--
1.8.3.1

  reply	other threads:[~2017-06-30 16:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30 16:15 [PATCH 0/5] Update kernel to latest FMC bus release Pat Riehecky
2017-06-30 16:15 ` Pat Riehecky [this message]
2017-06-30 16:15 ` [PATCH 2/5] drivers/fmc: hide fmc operations behind helpers Pat Riehecky
2017-06-30 16:15 ` [PATCH 3/5] drivers/fmc: The only way to dump the SDB is from debugfs Pat Riehecky
2017-06-30 16:15 ` [PATCH 4/5] drivers/fmc: change registration prototype Pat Riehecky
2017-06-30 16:15 ` [PATCH 5/5] drivers/fmc: carrier can program FPGA on registration Pat Riehecky
2017-07-05 10:27 ` [PATCH 0/5] Update kernel to latest FMC bus release Alessandro Rubini
2017-07-05 14:22   ` [PATCH v2 00/05] " Pat Riehecky
2017-07-05 14:22     ` [PATCH v2 01/05] drivers/fmc: remove unused variable Pat Riehecky
2017-07-17 14:29       ` Greg KH
2017-07-05 14:22     ` [PATCH v2 02/05] drivers/fmc: hide fmc operations behind helpers Pat Riehecky
2017-07-05 14:22     ` [PATCH v2 03/05] drivers/fmc: The only way to dump the SDB is from debugfs Pat Riehecky
2017-07-05 14:22     ` [PATCH v2 04/05] drivers/fmc: change registration prototype Pat Riehecky
2017-07-05 14:22     ` [PATCH v2 05/05] drivers/fmc: carrier can program FPGA on registration Pat Riehecky
2017-07-17 14:30       ` Greg KH
2017-07-17 14:33       ` Alessandro Rubini

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=3a84214b4eb753fc3a2e18ae76f2f9bcba22cad9.1498838809.git.riehecky@fnal.gov \
    --to=riehecky@fnal.gov \
    --cc=drivers_other@kernel-bugs.osdl.org \
    --cc=federico.vaga@cern.ch \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rubini@gnudd.com \
    /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.