]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: Simplify rt_fill_info
authorDavid Ahern <dsa@cumulusnetworks.com>
Fri, 6 Jan 2017 03:32:46 +0000 (19:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2017 20:57:01 +0000 (15:57 -0500)
commitac1f040a9aa776676d9a0e5802f26d638cd4a6c0
treef8b3acde91c84ddd41268e3aea902cb910a623c1
parentc93b14d10a362f7c13d7c2b617e21dd96229c0cb
net: ipv4: Simplify rt_fill_info

rt_fill_info has only 1 caller and both of the last 2 args -- nowait
and flags -- are hardcoded to 0. Given that remove them as input arguments
and simplify rt_fill_info accordingly.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c