ip: minor checkpatch cleanup
This commit is contained in:
parent
4de4b5ca14
commit
90353c3341
|
|
@ -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)
|
||||
{
|
||||
__u32 table = r->rtm_table;
|
||||
|
||||
if (tb[RTA_TABLE])
|
||||
table = rta_getattr_u32(tb[RTA_TABLE]);
|
||||
return table;
|
||||
|
|
@ -68,8 +69,7 @@ extern struct rtnl_handle rth;
|
|||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct link_util
|
||||
{
|
||||
struct link_util {
|
||||
struct link_util *next;
|
||||
const char *id;
|
||||
int maxattr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue