system-controller: only set value once before validation in screen_allocate.
authorJan Ekström <jan.ekstrom@intel.com>
Wed, 5 Nov 2014 14:54:58 +0000 (16:54 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:19 +0000 (18:37 +0200)
Change-Id: I56aa1716e848a6c400dc3e7f63d811dfdb015a35

src/plugins/system-controller/resource-manager/screen.c

index c9a6c19..1dafcd0 100644 (file)
@@ -1499,7 +1499,7 @@ static bool screen_allocate(mrp_zone_t *zone,
     mrp_resmgr_screen_t *screen = (mrp_resmgr_screen_t *)userdata;
     uint32_t zoneid;
     const char *zonename;
-    const char *appid = get_appid_for_resource(res);
+    const char *appid;
     screen_resource_t *sr;
     uint32_t grantid;
     bool allocated;