Skip to content

Commit

Permalink
[rx] kill unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Feb 5, 2020
1 parent cc12097 commit 36cbab6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libknet/threads_rx.c
Expand Up @@ -236,7 +236,6 @@ static void _parse_recv_from_links(knet_handle_t knet_h, int sockfd, const struc
knet_node_id_t dst_host_ids[KNET_MAX_HOST];
size_t dst_host_ids_entries = 0;
int bcast = 1;
int was_decrypted = 0;
uint64_t crypt_time = 0;
struct timespec recvtime;
struct knet_header *inbuf = msg->msg_hdr.msg_iov->iov_base;
Expand Down Expand Up @@ -275,7 +274,6 @@ static void _parse_recv_from_links(knet_handle_t knet_h, int sockfd, const struc

len = outlen;
inbuf = (struct knet_header *)knet_h->recv_from_links_buf_decrypt;
was_decrypted++;
}

if (len < (ssize_t)(KNET_HEADER_SIZE + 1)) {
Expand Down

0 comments on commit 36cbab6

Please sign in to comment.