projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40309d2
)
net: do not initialise statics to 0
author
Wei Tang
<tangwei@cmss.chinamobile.com>
Thu, 16 Jun 2016 13:17:49 +0000
(21:17 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Jun 2016 00:41:22 +0000
(17:41 -0700)
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>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index b14835757141e88f5c33460267d510085620e642..441657f05e981592aa31792490958bf209889183 100644
(file)
--- 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 = "";