Browse Source

nfp: remove unnecessary static

There is no reason for those local variables to be static.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Jakub Kicinski 9 years ago
parent
commit
c160692e86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c

+ 1 - 1
drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c

@@ -187,7 +187,7 @@ static const struct file_operations nfp_tx_q_fops = {
 
 void nfp_net_debugfs_adapter_add(struct nfp_net *nn)
 {
-	static struct dentry *queues, *tx, *rx;
+	struct dentry *queues, *tx, *rx;
 	char int_name[16];
 	int i;