diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-07-24 12:28:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 01:02:49 -0700 |
commit | 5a6228a0b472062646434cd2536d109c102b606e (patch) | |
tree | 29b6d0958db33b1fc5980dbbcec192a7b1d20c19 /virt | |
parent | d943659508a4fb883507fdd3f998329e70a8f922 (diff) | |
download | op-kernel-dev-5a6228a0b472062646434cd2536d109c102b606e.zip op-kernel-dev-5a6228a0b472062646434cd2536d109c102b606e.tar.gz |
lwtunnel: change prototype of lwtunnel_state_get()
It saves some lines and simplify a bit the code when the state is returning
by this function. It's also useful to handle a NULL entry.
To avoid too long lines, I've also renamed lwtunnel_state_get() and
lwtunnel_state_put() to lwtstate_get() and lwtstate_put().
CC: Thomas Graf <tgraf@suug.ch>
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions