Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 654e8fb5 authored by Mariano Guerra's avatar Mariano Guerra Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: do not initialise statics to 0 or NULL



This is a patch to adv_pci_dio.c that fixes an error initializing

static struct pci_dio_private *pci_priv to NULL

removed the initialization.
found by the checkpatch.pl tool.

	Signed-off-by: default avatarMariano Guerra <luismarianoguerra@gmail.com>

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f5283a4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ struct pci_dio_private {
	unsigned short IDIFiltrHigh[8];	/*  IDI's filter value high signal */
};

static struct pci_dio_private *pci_priv = NULL;	/* list of allocated cards */
static struct pci_dio_private *pci_priv;	/* list of allocated cards */

#define devpriv ((struct pci_dio_private *)dev->private)
#define this_board ((const struct dio_boardtype *)dev->board_ptr)