summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2016-06-16 13:17:49 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-06-17 00:41:22 (GMT)
commit84d15ae57d9478efc755306fee5ee562e0fa40e5 (patch)
treeb2e01a957dc1a190af0cd857e8eda2f04660d900 /net/core/dev.c
parent40309d26549ec29cfc91d9ee5fc6f06083b97fe5 (diff)
downloadlinux-84d15ae57d9478efc755306fee5ee562e0fa40e5.tar.xz
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 b148357..441657f 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 = "";