diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-10-07 12:02:22 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-14 21:00:37 +0100 |
commit | 170173bf37342dab486daaa2a0381d802c10fb21 (patch) | |
tree | a99f014b284002d5924fa39348ecf51bb3ab655a /net/batman-adv/sysfs.c | |
parent | 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 (diff) | |
download | blackbird-op-linux-170173bf37342dab486daaa2a0381d802c10fb21.tar.gz blackbird-op-linux-170173bf37342dab486daaa2a0381d802c10fb21.zip |
batman-adv: Remove instant overwritten variable initialization
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/sysfs.c')
-rw-r--r-- | net/batman-adv/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index fa3cc1af0918..84a55cb19b0b 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c @@ -688,7 +688,7 @@ int batadv_throw_uevent(struct batadv_priv *bat_priv, enum batadv_uev_type type, enum batadv_uev_action action, const char *data) { int ret = -ENOMEM; - struct batadv_hard_iface *primary_if = NULL; + struct batadv_hard_iface *primary_if; struct kobject *bat_kobj; char *uevent_env[4] = { NULL, NULL, NULL, NULL }; |