Commit 84d15ae5 authored by Wei Tang's avatar Wei Tang Committed by David S. Miller

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: default avatarWei Tang <tangwei@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40309d26
...@@ -2422,7 +2422,7 @@ EXPORT_SYMBOL(__skb_tx_hash); ...@@ -2422,7 +2422,7 @@ EXPORT_SYMBOL(__skb_tx_hash);
static void skb_warn_bad_offload(const struct sk_buff *skb) 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; struct net_device *dev = skb->dev;
const char *name = ""; const char *name = "";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment