Remove an unused function from the iSER code

This was detected by clang.

Fixes: 68ce3363aa ("iser: dynamic memory region allocator")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
Bart Van Assche
2020-08-18 20:02:27 -07:00
parent 17fd81a69d
commit b5cd42e103

View File

@@ -204,12 +204,6 @@ iser_buf_chunk_alloc(struct iser_buf_chunk *chunk, int want) {
return result;
}
static inline int
iser_buf_chunk_contains(struct iser_buf_chunk *chunk, void *ptr) {
return ((unsigned char *)ptr >= chunk->buf &&
(unsigned char *)ptr < chunk->buf + DATA_BUFFER_CHUNK_SIZE);
}
static void
iser_tx_desc_free(struct iscsi_context *iscsi, struct iser_tx_desc *tx_desc)
{