summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/vis.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-07-08 17:13:15 +0200
committerAntonio Quartulli <ordex@autistici.org>2012-08-23 14:20:20 +0200
commitbbb1f90efba89b31fc5e329d5fcaf10aca99212b (patch)
treedb2645f7068d5da5b501559e6a2972c20f361082 /net/batman-adv/vis.c
parent8de47de5757bd5f64a823185e544210d95fd2088 (diff)
downloadop-kernel-dev-bbb1f90efba89b31fc5e329d5fcaf10aca99212b.zip
op-kernel-dev-bbb1f90efba89b31fc5e329d5fcaf10aca99212b.tar.gz
batman-adv: Don't break statements after assignment operator
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/vis.c')
-rw-r--r--net/batman-adv/vis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/vis.c b/net/batman-adv/vis.c
index 4608c1b2..55cc51b 100644
--- a/net/batman-adv/vis.c
+++ b/net/batman-adv/vis.c
@@ -814,12 +814,12 @@ out:
/* called from timer; send (and maybe generate) vis packet. */
static void batadv_send_vis_packets(struct work_struct *work)
{
- struct delayed_work *delayed_work =
- container_of(work, struct delayed_work, work);
+ struct delayed_work *delayed_work;
struct batadv_priv *bat_priv;
struct batadv_priv_vis *priv_vis;
struct batadv_vis_info *info;
+ delayed_work = container_of(work, struct delayed_work, work);
priv_vis = container_of(delayed_work, struct batadv_priv_vis, work);
bat_priv = container_of(priv_vis, struct batadv_priv, vis);
spin_lock_bh(&bat_priv->vis.hash_lock);
OpenPOWER on IntegriCloud