summaryrefslogtreecommitdiff
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-29 12:21:30 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-31 22:33:34 +0300
commit5af68891dc16e1c8216705034a5e0144fd47779a (patch)
treea4b38a00fc4cd849aef3a975f4d26c315d58a78e /include/net/dst.h
parentcbc08a33126f8f721d30cf9034c4d444b55de60a (diff)
downloadlinux-5af68891dc16e1c8216705034a5e0144fd47779a.tar.xz
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)