ip: minor checkpatch cleanup

This commit is contained in:
Stephen Hemminger 2016-06-08 09:15:52 -07:00
parent 4de4b5ca14
commit 90353c3341
1 changed files with 3 additions and 3 deletions

View File

@ -59,6 +59,7 @@ int iplink_get(unsigned int flags, char *name, __u32 filt_mask);
static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb)
{ {
__u32 table = r->rtm_table; __u32 table = r->rtm_table;
if (tb[RTA_TABLE]) if (tb[RTA_TABLE])
table = rta_getattr_u32(tb[RTA_TABLE]); table = rta_getattr_u32(tb[RTA_TABLE]);
return table; return table;
@ -68,8 +69,7 @@ extern struct rtnl_handle rth;
#include <stdbool.h> #include <stdbool.h>
struct link_util struct link_util {
{
struct link_util *next; struct link_util *next;
const char *id; const char *id;
int maxattr; int maxattr;