Skip to contentSkip to conversation

drivers/net/bonding/bond_main.c - remove unnecessary #define

PATCH Applied Joe Perches 2 participants 2 messages Apr 10, 2008 – Apr 12, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/bonding/bond_main.c - remove unnecessary #define

bond_main.c already #includes <linux/seq_file.h>

 drivers/net/bonding/bond_main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/bonding/bond_main.c +0 -2
index ecfaf14..6e91b4b 100644
@@ -3065,8 +3065,6 @@ out:
 
 #ifdef CONFIG_PROC_FS
 
-#define SEQ_START_TOKEN ((void *)1)
-
 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
 {
 	struct bonding *bond = seq->private;
Applied
#1 lore raw
Quoted 12 lines · Joe Perches

bond_main.c already #includes <linux/seq_file.h>

 drivers/net/bonding/bond_main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/bonding/bond_main.c +0 -0
index ecfaf14..6e91b4b 100644

drivers/net/bonding/bond_main.c out: · line 3070

Quoted 8 lines
drivers/net/bonding/bond_main.c +0 -2
@@ -3065,8 +3065,6 @@ out:
 
 #ifdef CONFIG_PROC_FS
 
-#define SEQ_START_TOKEN ((void *)1)
-
 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
 {
 	struct bonding *bond = seq->private;

applied