]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa48b372e0b6e9baab8fd28617627ec138f479e6
tree12721883897dc073f78ad97e767bb3ab5f69fb71
parentd93641fb010abd3d8c914d924a376c7c5d235d77
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