1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

sctp: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-12 14:58:59 -07:00
parent bab34d6349
commit 90948e8c2e

View File

@ -486,11 +486,10 @@ sctp_copy_out_packet_log(uint8_t *target, int length)
* We wind through the packet log starting at start copying up to
* length bytes out. We return the number of bytes copied.
*/
int tocopy, this_copy;
int this_copy;
int *lenat;
int did_delay = 0;
tocopy = length;
if (length < (int)(2 * sizeof(int))) {
/* not enough room */
return (0);