Commit f41e1a0a authored by Dorothea Ehrl's avatar Dorothea Ehrl Committed by Greg Kroah-Hartman

staging/qlge: remove initialising of static local variable

This patch fixes "ERROR: do not initialise statics to 0" by checkpatch.pl.
Signed-off-by: default avatarDorothea Ehrl <dorothea.ehrl@fau.de>
Co-developed-by: default avatarVanessa Hack <vanessa.hack@fau.de>
Signed-off-by: default avatarVanessa Hack <vanessa.hack@fau.de>
Link: https://lore.kernel.org/r/20191127123052.16424-1-dorothea.ehrl@fau.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9a92d02c
......@@ -4578,7 +4578,7 @@ static int qlge_probe(struct pci_dev *pdev,
{
struct net_device *ndev = NULL;
struct ql_adapter *qdev = NULL;
static int cards_found = 0;
static int cards_found;
int err = 0;
ndev = alloc_etherdev_mq(sizeof(struct ql_adapter),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment