diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-25 14:32:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-25 15:28:02 +0200 |
commit | 343d8c6014db5b3397b3eedcb845fdd361c7e665 (patch) | |
tree | f2708e9223de3b75bfcbc7eb6b151036bf99d326 /net/ipv4/ip_output.c | |
parent | net: Remove duplicated midx check against 0 (diff) | |
download | linux-343d8c6014db5b3397b3eedcb845fdd361c7e665.tar.xz linux-343d8c6014db5b3397b3eedcb845fdd361c7e665.zip |
net: clean up codestyle for net/ipv4
This is a pure codestyle cleanup patch. Also add a blank line after
declarations as warned by checkpatch.pl.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r-- | net/ipv4/ip_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 61f802d5350c..329a0ab87542 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -1351,7 +1351,7 @@ ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page, if (cork->flags & IPCORK_OPT) opt = cork->opt; - if (!(rt->dst.dev->features&NETIF_F_SG)) + if (!(rt->dst.dev->features & NETIF_F_SG)) return -EOPNOTSUPP; hh_len = LL_RESERVED_SPACE(rt->dst.dev); |