Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Christophe JAILLET and committed by
Samuel Ortiz
b43ef781 7cf6d08c

+1 -1
+1 -1
drivers/nfc/nfcwilink.c
··· 497 497 498 498 static int nfcwilink_probe(struct platform_device *pdev) 499 499 { 500 - static struct nfcwilink *drv; 500 + struct nfcwilink *drv; 501 501 int rc; 502 502 __u32 protocols; 503 503