From: Pavel TvrdĂ­k Date: Thu, 22 Oct 2015 14:34:11 +0000 (+0200) Subject: Remove unused function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e02f1fd14a5f4cdb966bbe091b585622c08f7b;p=thirdparty%2Fbird.git Remove unused function --- diff --git a/proto/bfd/packets.c b/proto/bfd/packets.c index cb40bcdad..74c6a4167 100644 --- a/proto/bfd/packets.c +++ b/proto/bfd/packets.c @@ -39,9 +39,6 @@ static inline u8 bfd_pkt_get_diag(struct bfd_ctl_packet *pkt) static inline u8 bfd_pkt_get_state(struct bfd_ctl_packet *pkt) { return pkt->flags >> 6; } -static inline void bfd_pkt_set_state(struct bfd_ctl_packet *pkt, u8 val) -{ pkt->flags = val << 6; } - char * bfd_format_flags(u8 flags, char *buf)