netfilter: ebt_stp: Use generic functions for comparisons
authorJoe Perches <joe@perches.com>
Wed, 21 Mar 2018 11:03:22 +0000 (04:03 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 30 Mar 2018 09:24:29 +0000 (11:24 +0200)
commit9124a20d8794663a396b5d6f91f66903848a042b
tree12721883897dc073f78ad97e767bb3ab5f69fb71
parent19b351f16fd940092f2daa75773b0320f0785de9
netfilter: ebt_stp: Use generic functions for comparisons

Instead of unnecessary const declarations, use the generic functions to
save a little object space.

$ size net/bridge/netfilter/ebt_stp.o*
   text    data     bss     dec     hex filename
   1250     144       0    1394     572 net/bridge/netfilter/ebt_stp.o.new
   1344     144       0    1488     5d0 net/bridge/netfilter/ebt_stp.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/ebt_stp.c