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:
@@ -204,12 +204,6 @@ iser_buf_chunk_alloc(struct iser_buf_chunk *chunk, int want) {
|
|||||||
return result;
|
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
|
static void
|
||||||
iser_tx_desc_free(struct iscsi_context *iscsi, struct iser_tx_desc *tx_desc)
|
iser_tx_desc_free(struct iscsi_context *iscsi, struct iser_tx_desc *tx_desc)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user