[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9173bae4-e19d-46d4-541c-a1f05a2e54ab@users.sourceforge.net>
Date: Sun, 6 Aug 2017 21:22:00 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Bart Van Assche <Bart.VanAssche@...disk.com>,
Jens Axboe <axboe@...nel.dk>,
Johannes Thumshirn <jthumshirn@...e.de>,
Ming Lei <ming.lei@...hat.com>,
Sagi Grimberg <sagi@...mberg.me>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 3/5] mtip32xx: Delete an unnecessary variable initialisation
in mtip_pci_probe()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sun, 6 Aug 2017 20:06:42 +0200
The local variable "dd" will be set to an appropriate pointer a bit later.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/block/mtip32xx/mtip32xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 97cbf39b4273..cba5bc2a1493 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -4193,7 +4193,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
int rv = 0;
- struct driver_data *dd = NULL;
+ struct driver_data *dd;
char cpu_list[256];
const struct cpumask *node_mask;
int cpu, i = 0, j = 0;
--
2.13.4
Powered by blists - more mailing lists