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

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.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9a92d02c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),