diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index bdafe708aae89ae66bf03559b96f7c0b686ded88..b87ef73f1dffe5a876d85558d9988ac438ab74d6 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -3035,7 +3035,6 @@ static int syscall_sctp_sendmsg(struct state *state, struct syscall_spec *syscal
 	context_expr = get_arg(args, 9, error);
 	if (get_u32(context_expr, &context, error))
 		return STATUS_ERR;
-	sockaddr_expr = get_arg(args, 3, error);
 
 	msg = calloc(len, 1);
 	assert(msg != NULL);