netlink_inet_diag.c: remove unnecessary return
decode_inet_diag_req, as well as the functions it calls, returns void. * netlink_inet_diag.c (decode_inet_diag_req): Do not return anything.
This commit is contained in:
parent
af955678b9
commit
2b97629df1
@ -275,11 +275,9 @@ DECL_NETLINK_DIAG_DECODER(decode_inet_diag_req)
|
||||
{
|
||||
if (nlmsghdr->nlmsg_type == TCPDIAG_GETSOCK
|
||||
|| nlmsghdr->nlmsg_type == DCCPDIAG_GETSOCK)
|
||||
return decode_inet_diag_req_compat(tcp, nlmsghdr,
|
||||
family, addr, len);
|
||||
decode_inet_diag_req_compat(tcp, nlmsghdr, family, addr, len);
|
||||
else
|
||||
return decode_inet_diag_req_v2(tcp, nlmsghdr,
|
||||
family, addr, len);
|
||||
decode_inet_diag_req_v2(tcp, nlmsghdr, family, addr, len);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user