summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/nfcwilink.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2015-10-13 08:31:04 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-19 20:06:13 +0200
commitb43ef78145b10a3fb81a59596d562f21d9bab8d2 (patch)
treee56a407903f16f69e2e602ae7a313531ce2bac27 /drivers/nfc/nfcwilink.c
parentNFC: nxp-nci: constify nxp_nci_phy_ops structure (diff)
downloadlinux-b43ef78145b10a3fb81a59596d562f21d9bab8d2.tar.xz
linux-b43ef78145b10a3fb81a59596d562f21d9bab8d2.zip
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 '')
-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;