unit_control_dm: drop unneeded assert 46/211646/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 7 Aug 2019 12:05:05 +0000 (14:05 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 7 Aug 2019 12:18:49 +0000 (14:18 +0200)
Config can be null when no configuration file was provided.

Change-Id: I09b94c71c307db73f0d186b294151bd12e639229

src/decision_makers/unit_control_dm.c

index a2c44fd4663b5e65fbc157fef1e8c2d1d26729cd..5811bd6daf046bb82d8feb465fef2c504d813012 100644 (file)
@@ -522,7 +522,6 @@ static int add_whitelist_entry(struct unit_control_decision_maker *dm, const cha
 static int unit_control_init(struct epc_event_handler *handler, struct epc_config *config)
 {
        assert(handler);
-       assert(config);
 
        struct unit_control_decision_maker *dm = container_of(handler,
                        struct unit_control_decision_maker, eh);