]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: minor checkpatch cleanup
authorStephen Hemminger <shemming@brocade.com>
Wed, 8 Jun 2016 16:15:52 +0000 (09:15 -0700)
committerStephen Hemminger <shemming@brocade.com>
Wed, 8 Jun 2016 16:15:52 +0000 (09:15 -0700)
ip/ip_common.h

index b7361a8fc65df08f9af281dc1e988dedb87ebe88..f57105d3690b3fd083b504802b612c5b8676112b 100644 (file)
@@ -8,7 +8,7 @@ int print_addrinfo(const struct sockaddr_nl *who,
 int print_addrlabel(const struct sockaddr_nl *who,
                    struct nlmsghdr *n, void *arg);
 int print_neigh(const struct sockaddr_nl *who,
-               struct nlmsghdr *n, void *arg);
+               struct nlmsghdr *n, void *arg);
 int ipaddr_list_link(int argc, char **argv);
 void ipaddr_get_vf_rate(int, int *, int *, int);
 void iplink_usage(void) __attribute__((noreturn));
@@ -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;