diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2015-10-13 08:31:04 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-19 20:06:13 +0200 |
commit | b43ef78145b10a3fb81a59596d562f21d9bab8d2 (patch) | |
tree | e56a407903f16f69e2e602ae7a313531ce2bac27 /drivers/nfc/nfcwilink.c | |
parent | 7cf6d08cafd67a34d0d78cd15baf64e214e050cb (diff) | |
download | linux-b43ef78145b10a3fb81a59596d562f21d9bab8d2.tar.bz2 |
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/nfcwilink.c')
-rw-r--r-- | drivers/nfc/nfcwilink.c | 2 |
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; |