diff --git a/libbtrfs/send-stream.c b/libbtrfs/send-stream.c index ff180886..96d1698b 100644 --- a/libbtrfs/send-stream.c +++ b/libbtrfs/send-stream.c @@ -26,7 +26,6 @@ #include "libbtrfs/send-stream.h" #include "libbtrfs/ctree.h" #include "libbtrfs/crc32c.h" -#include "common/messages.h" struct btrfs_send_stream { char read_buf[BTRFS_SEND_BUF_SIZE]; @@ -109,7 +108,6 @@ static int read_cmd(struct btrfs_send_stream *sctx) memset(sctx->cmd_attrs, 0, sizeof(sctx->cmd_attrs)); - UASSERT(sizeof(*sctx->cmd_hdr) <= sizeof(sctx->read_buf)); ret = read_buf(sctx, sctx->read_buf, sizeof(*sctx->cmd_hdr)); if (ret < 0) goto out;