block: move blockd_notify() call out of the conditional blocks
authorRafał Miłecki <rafal@milecki.pl>
Fri, 30 Nov 2018 13:09:21 +0000 (14:09 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 4 Dec 2018 08:15:31 +0000 (09:15 +0100)
commit29717790c905ad3c67a6b66d04a50393b5435c56
treeb340406529b688318777f0910d777dbccd182323
parentb86bd6ef92652014c8ae533c4878e7fb10757f46
block: move blockd_notify() call out of the conditional blocks

That function is called no matter if "m" variable is null or not. This
saves a one duplicated line & allows merging two conditional blocks
starting with if (m). It doesn't change code execution order.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Michael Heimpold <mhei@heimpold.de>
block.c