hv: remove unused flags related APIs in sbuf
There APIs are removed:
sbuf_clear_flags
sbuf_set_flags
sbuf_add_flags
@@ -60,21 +60,6 @@ struct shared_buf {
#ifdef HV_DEBUG
-static inline void sbuf_clear_flags(struct shared_buf *sbuf, uint32_t flags)
-{
- sbuf->flags &= ~flags;
-}
-
-static inline void sbuf_set_flags(struct shared_buf *sbuf, uint32_t flags)
-{
- sbuf->flags = flags;
-}
-
-static inline void sbuf_add_flags(struct shared_buf *sbuf, uint32_t flags)
-{
- sbuf->flags |= flags;
-}
-
/**
*@pre sbuf != NULL
*@pre data != NULL
@@ -90,24 +75,6 @@ uint32_t sbuf_next_ptr(uint32_t pos, uint32_t span, uint32_t scope);
#else /* HV_DEBUG */
-static inline void sbuf_clear_flags(
- __unused struct shared_buf *sbuf,
- __unused uint32_t flags)
-{
-}
-
-static inline void sbuf_set_flags(
- __unused struct shared_buf *sbuf,
- __unused uint32_t flags)
-{
-}
-
-static inline void sbuf_add_flags(
- __unused struct shared_buf *sbuf,
- __unused uint32_t flags)
-{
-}
-
static inline int sbuf_get(
__unused struct shared_buf *sbuf,
__unused uint8_t *data)
