Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340463
b: refs/heads/master
c: c80bbea
h: refs/heads/master
i:
  340461: 4c9ed1b
  340459: 2581c74
  340455: cfa0faf
  340447: 4ca7ef5
v: v3
  • Loading branch information
Hans Zhang authored and David S. Miller committed Oct 23, 2012
1 parent b6b170e commit fc454b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45f00f99d6e73a7b9e1d7dc191f78357f550d5b5
refs/heads/master: c80bbeaec98b36eeba9c6c77061226034d5c4622
6 changes: 3 additions & 3 deletions trunk/net/core/rtnetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static rtnl_doit_func rtnl_get_doit(int protocol, int msgindex)
if (tab == NULL || tab[msgindex].doit == NULL)
tab = rtnl_msg_handlers[PF_UNSPEC];

return tab ? tab[msgindex].doit : NULL;
return tab[msgindex].doit;
}

static rtnl_dumpit_func rtnl_get_dumpit(int protocol, int msgindex)
Expand All @@ -143,7 +143,7 @@ static rtnl_dumpit_func rtnl_get_dumpit(int protocol, int msgindex)
if (tab == NULL || tab[msgindex].dumpit == NULL)
tab = rtnl_msg_handlers[PF_UNSPEC];

return tab ? tab[msgindex].dumpit : NULL;
return tab[msgindex].dumpit;
}

static rtnl_calcit_func rtnl_get_calcit(int protocol, int msgindex)
Expand All @@ -158,7 +158,7 @@ static rtnl_calcit_func rtnl_get_calcit(int protocol, int msgindex)
if (tab == NULL || tab[msgindex].calcit == NULL)
tab = rtnl_msg_handlers[PF_UNSPEC];

return tab ? tab[msgindex].calcit : NULL;
return tab[msgindex].calcit;
}

/**
Expand Down

0 comments on commit fc454b0

Please sign in to comment.