diff options
author | Sven Eckelmann <sven@narfation.org> | 2015-06-09 20:50:49 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-08-25 00:12:18 +0200 |
commit | 4f248cff9e21720bd5f057661f752fba067f3779 (patch) | |
tree | e39e2b8270b8a6381a9b0016a9ebc0999dc11414 /net/batman-adv/network-coding.c | |
parent | batman-adv: Fix kerneldoc over 80 column lines (diff) | |
download | linux-4f248cff9e21720bd5f057661f752fba067f3779.tar.xz linux-4f248cff9e21720bd5f057661f752fba067f3779.zip |
batman-adv: Remove multiple assignment per line
The Linux CodingStyle disallows multiple assignments in a single line.
(see chapter 1)
Reported-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r-- | net/batman-adv/network-coding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index 5cab144000be..ccfe5d86b106 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -887,7 +887,8 @@ void batadv_nc_update_nc_node(struct batadv_priv *bat_priv, struct batadv_ogm_packet *ogm_packet, int is_single_hop_neigh) { - struct batadv_nc_node *in_nc_node = NULL, *out_nc_node = NULL; + struct batadv_nc_node *in_nc_node = NULL; + struct batadv_nc_node *out_nc_node = NULL; /* Check if network coding is enabled */ if (!atomic_read(&bat_priv->network_coding)) |