* Bitmap free * * @param bmp * Handle to bitmap instance * @return * 0 upon success, error code otherwise */
| 288 | * 0 upon success, error code otherwise |
| 289 | */ |
| 290 | static inline int |
| 291 | rte_bitmap_free(struct rte_bitmap *bmp) |
| 292 | { |
| 293 | /* Check input arguments */ |
| 294 | if (bmp == NULL) { |
| 295 | return -1; |
| 296 | } |
| 297 | |
| 298 | return 0; |
| 299 | } |
| 300 | |
| 301 | /** |
| 302 | * Bitmap reset |
no outgoing calls