aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2016-06-16 21:17:49 +0800
committerDavid S. Miller <davem@davemloft.net>2016-06-16 17:41:22 -0700
commit84d15ae57d9478efc755306fee5ee562e0fa40e5 (patch)
treeb2e01a957dc1a190af0cd857e8eda2f04660d900 /net/core/dev.c
parentnet: tlan: don't set unused function argument (diff)
downloadlinux-dev-84d15ae57d9478efc755306fee5ee562e0fa40e5.tar.xz
linux-dev-84d15ae57d9478efc755306fee5ee562e0fa40e5.zip
net: do not initialise statics to 0
This patch fixes the checkpatch.pl error to dev.c: ERROR: do not initialise statics to 0 Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index b14835757141..441657f05e98 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2422,7 +2422,7 @@ EXPORT_SYMBOL(__skb_tx_hash);
static void skb_warn_bad_offload(const struct sk_buff *skb)
{
- static const netdev_features_t null_features = 0;
+ static const netdev_features_t null_features;
struct net_device *dev = skb->dev;
const char *name = "";