提交 b43ef781 编写于 作者: C Christophe JAILLET 提交者: Samuel Ortiz

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: NChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 7cf6d08c
...@@ -497,7 +497,7 @@ static struct nci_ops nfcwilink_ops = { ...@@ -497,7 +497,7 @@ static struct nci_ops nfcwilink_ops = {
static int nfcwilink_probe(struct platform_device *pdev) static int nfcwilink_probe(struct platform_device *pdev)
{ {
static struct nfcwilink *drv; struct nfcwilink *drv;
int rc; int rc;
__u32 protocols; __u32 protocols;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册