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>
This commit is contained in:
Christophe JAILLET 2015-10-13 08:31:04 +02:00 committed by Samuel Ortiz
parent 7cf6d08caf
commit b43ef78145
1 changed files with 1 additions and 1 deletions

View File

@ -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;