linux/route: set but unused variable
This commit is contained in:
parent
0dc26d2005
commit
54273181bf
1 changed files with 0 additions and 2 deletions
|
@ -188,7 +188,6 @@ int net_rt_list(net_rt_h *rth, void *arg)
|
|||
struct nlmsghdr msg[1];
|
||||
} u;
|
||||
struct nlmsghdr *nlmsg;
|
||||
struct rtmsg *rtmsg;
|
||||
int sock, len, seq = 0, err = 0;
|
||||
|
||||
if (!rth)
|
||||
|
@ -205,7 +204,6 @@ int net_rt_list(net_rt_h *rth, void *arg)
|
|||
|
||||
/* point the header and the msg structure pointers into the buffer */
|
||||
nlmsg = u.msg;
|
||||
rtmsg = (struct rtmsg *)NLMSG_DATA(nlmsg);
|
||||
|
||||
/* Fill in the nlmsg header*/
|
||||
nlmsg->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
|
||||
|
|
Loading…
Add table
Reference in a new issue