From: Wei Tang Date: Thu, 16 Jun 2016 13:17:49 +0000 (+0800) Subject: net: do not initialise statics to 0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84d15ae57d9478efc755306fee5ee562e0fa40e5;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: David S. Miller --- 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 = "";