• Joe Perches's avatar
    net: Convert SEQ_START_TOKEN/seq_printf to seq_puts · 1744bea1
    Joe Perches authored
    Using a single fixed string is smaller code size than using
    a format and many string arguments.
    
    Reduces overall code size a little.
    
    $ size net/ipv4/igmp.o* net/ipv6/mcast.o* net/ipv6/ip6_flowlabel.o*
       text	   data	    bss	    dec	    hex	filename
      34269	   7012	  14824	  56105	   db29	net/ipv4/igmp.o.new
      34315	   7012	  14824	  56151	   db57	net/ipv4/igmp.o.old
      30078	   7869	  13200	  51147	   c7cb	net/ipv6/mcast.o.new
      30105	   7869	  13200	  51174	   c7e6	net/ipv6/mcast.o.old
      11434	   3748	   8580	  23762	   5cd2	net/ipv6/ip6_flowlabel.o.new
      11491	   3748	   8580	  23819	   5d0b	net/ipv6/ip6_flowlabel.o.old
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1744bea1
mcast.c 69.5 KB