block: Only for primary mmc, vconf key value should be valid 59/150759/2
authorpr.jung <pr.jung@samsung.com>
Mon, 18 Sep 2017 11:19:56 +0000 (20:19 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 18 Sep 2017 11:33:03 +0000 (11:33 +0000)
Change-Id: I1b3362978d9e649cd8801d7494743bbcb8ff3350
Signed-off-by: pr.jung <pr.jung@samsung.com>
(cherry picked from commit 4af347bc7a99dcceaa6e8953946756786e81b53b)

src/block/block.c

index 113b15d..da7443f 100644 (file)
@@ -259,6 +259,9 @@ static void broadcast_block_info(enum block_dev_operation op,
        if (data->primary != true)
                return;
 
+       if (data->primary != true)
+               return;
+
        DD_LIST_FOREACH(block_ops_list, elem, ops) {
                if (ops->block_type != data->block_type)
                        continue;