提交 84d15ae5 编写于 作者: W Wei Tang 提交者: 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: NWei Tang <tangwei@cmss.chinamobile.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册