summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2015-10-13 09:31:04 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-19 21:06:13 +0300
commitb43ef78145b10a3fb81a59596d562f21d9bab8d2 (patch)
treee56a407903f16f69e2e602ae7a313531ce2bac27 /drivers/nfc
parent7cf6d08cafd67a34d0d78cd15baf64e214e050cb (diff)
downloadlinux-b43ef78145b10a3fb81a59596d562f21d9bab8d2.tar.xz
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>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/nfcwilink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/nfcwilink.c b/drivers/nfc/nfcwilink.c
index ce2e2cf54fbc..f81e500e7650 100644
--- a/drivers/nfc/nfcwilink.c
+++ b/drivers/nfc/nfcwilink.c
@@ -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;