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

Commit b43ef781 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Samuel Ortiz
Browse files

NFC: nfcwilink: Drop a useless static qualifier



There is no need to have the 'struct nfcwilink *drv' variable static in the
probe function.
It only wastes a few bytes of memory.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 7cf6d08c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -497,7 +497,7 @@ static struct nci_ops nfcwilink_ops = {

static int nfcwilink_probe(struct platform_device *pdev)
{
	static struct nfcwilink *drv;
	struct nfcwilink *drv;
	int rc;
	__u32 protocols;