fm10k: TRIVIAL fix up ordering of __always_unused and style
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 24 Jun 2015 20:34:44 +0000 (13:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:06:00 +0000 (17:06 -0700)
Fix some style issues in debugfs code, and correct ordering of void and
__always_unused. Technically, the order does not matter, but preferred
style is to put the macro between the type and name.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c

index f45b4d7..08ecf43 100644 (file)
@@ -37,7 +37,8 @@ static void *fm10k_dbg_desc_seq_start(struct seq_file *s, loff_t *pos)
 }
 
 static void *fm10k_dbg_desc_seq_next(struct seq_file *s,
-                                    void __always_unused *v, loff_t *pos)
+                                    void __always_unused *v,
+                                    loff_t *pos)
 {
        struct fm10k_ring *ring = s->private;
 
@@ -45,7 +46,7 @@ static void *fm10k_dbg_desc_seq_next(struct seq_file *s,
 }
 
 static void fm10k_dbg_desc_seq_stop(struct seq_file __always_unused *s,
-                                   __always_unused void *v)
+                                   void __always_unused *v)
 {
        /* Do nothing. */
 }