aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-29 05:21:30 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-31 12:33:34 -0700
commit5af68891dc16e1c8216705034a5e0144fd47779a (patch)
treea4b38a00fc4cd849aef3a975f4d26c315d58a78e /include/net/dst.h
parentnet: Use helper macro IP_MAX_MTU in __ip_append_data() (diff)
downloadlinux-dev-5af68891dc16e1c8216705034a5e0144fd47779a.tar.xz
linux-dev-5af68891dc16e1c8216705034a5e0144fd47779a.zip
net: clean up codestyle
This is a pure codestyle cleanup patch. No functional change intended. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst.h')
-rw-r--r--include/net/dst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 6ae2e625050d..8ea8812b0b41 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -214,7 +214,7 @@ dst_allfrag(const struct dst_entry *dst)
static inline int
dst_metric_locked(const struct dst_entry *dst, int metric)
{
- return dst_metric(dst, RTAX_LOCK) & (1<<metric);
+ return dst_metric(dst, RTAX_LOCK) & (1 << metric);
}
static inline void dst_hold(struct dst_entry *dst)