[RAMEN9610-9418][COMMON] ems: frt: fix initialize variable for check condition
authorSangkyu Kim <skwith.kim@samsung.com>
Fri, 9 Nov 2018 09:49:41 +0000 (18:49 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 13 Dec 2018 11:41:47 +0000 (20:41 +0900)
Change-Id: I330d6250f3a8873ffd0bdbb1bca524db6ca56d7d
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
kernel/sched/rt.c

index 225a4712ce14e2023fb3b986d54d652c70eae849..9e12d4d8a930b103f1e45dfc1f9720c6a8044185 100644 (file)
@@ -289,7 +289,7 @@ disable:
 
 static int __init init_frt(void)
 {
-       struct frt_dom *dom, *prev, *head;
+       struct frt_dom *dom, *prev = NULL, *head;
        struct device_node *dn;
        int cpu, tcpu, cnt = 0;