Remove unused replay variable in conftests seq number reset hook
This commit is contained in:
@@ -51,7 +51,6 @@ static job_requeue_t reset_cb(struct xfrm_usersa_id *data)
|
|||||||
struct nlmsghdr *hdr;
|
struct nlmsghdr *hdr;
|
||||||
struct xfrm_aevent_id *id;
|
struct xfrm_aevent_id *id;
|
||||||
struct rtattr *rthdr;
|
struct rtattr *rthdr;
|
||||||
struct xfrm_replay_state *replay;
|
|
||||||
struct sockaddr_nl addr;
|
struct sockaddr_nl addr;
|
||||||
int s, len;
|
int s, len;
|
||||||
|
|
||||||
@@ -74,8 +73,6 @@ static job_requeue_t reset_cb(struct xfrm_usersa_id *data)
|
|||||||
rthdr->rta_len = RTA_LENGTH(sizeof(struct xfrm_replay_state));
|
rthdr->rta_len = RTA_LENGTH(sizeof(struct xfrm_replay_state));
|
||||||
hdr->nlmsg_len += rthdr->rta_len;
|
hdr->nlmsg_len += rthdr->rta_len;
|
||||||
|
|
||||||
replay = (struct xfrm_replay_state*)RTA_DATA(rthdr);
|
|
||||||
|
|
||||||
s = socket(AF_NETLINK, SOCK_RAW, NETLINK_XFRM);
|
s = socket(AF_NETLINK, SOCK_RAW, NETLINK_XFRM);
|
||||||
if (s == -1)
|
if (s == -1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user