nfp: remove unnecessary static
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 16 Apr 2016 10:25:50 +0000 (11:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 02:34:39 +0000 (22:34 -0400)
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>
drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c

index d77ae4d0e4dc6085eae79e959191c6b038b4c02c..f7c9a5bc4aa334ee0f35f99b6b590795ce612149 100644 (file)
@@ -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;