projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf6d08
)
NFC: nfcwilink: Drop a useless static qualifier
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Tue, 13 Oct 2015 06:31:04 +0000
(08:31 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 19 Oct 2015 18:06:13 +0000
(20:06 +0200)
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>
drivers/nfc/nfcwilink.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/nfcwilink.c
b/drivers/nfc/nfcwilink.c
index ce2e2cf54fbc8b86a5dd674e819dd2b85908d978..f81e500e765061fd7d3cf22196260d3647155607 100644
(file)
--- 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)
{
- st
atic st
ruct nfcwilink *drv;
+ struct nfcwilink *drv;
int rc;
__u32 protocols;