X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif-mirror.h;h=64c4561230aa24950677d8bd7ef76801a2432226;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=4a6f3cebd2b09dbd94e8fc4fdc1b3a9840e42cc9;hpb=ec7ceaed4f3e03a3e59056a3a82a08886c328ce8;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-dpif-mirror.h b/ofproto/ofproto-dpif-mirror.h index 4a6f3cebd..64c456123 100644 --- a/ofproto/ofproto-dpif-mirror.h +++ b/ofproto/ofproto-dpif-mirror.h @@ -52,10 +52,4 @@ bool mirror_get(struct mbridge *, int index, unsigned long **vlans, mirror_mask_t *dup_mirrors, struct ofbundle **out, int *out_vlan); -static inline int -mirror_mask_ffs(mirror_mask_t mask) -{ - BUILD_ASSERT_DECL(sizeof(unsigned int) >= sizeof(mask)); - return ffs(mask); -} #endif /* ofproto-dpif-mirror.h */