summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorjinhyung.jo <jinhyung.jo@samsung.com>2014-04-16 15:50:26 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2014-04-24 21:17:27 +0900
commit246564f317dc48b42b05eaecacff61f302c05fd2 (patch)
treea9b9902501134ea79edcc77090bec81b6c5d39dd /vl.c
parent3e037feaf2fb56e74c2fdafd1d744d42125dc2c1 (diff)
downloadqemu-246564f317dc48b42b05eaecacff61f302c05fd2.tar.gz
qemu-246564f317dc48b42b05eaecacff61f302c05fd2.tar.bz2
qemu-246564f317dc48b42b05eaecacff61f302c05fd2.zip
maru: Change the device initialization routine.
Brightness, overlay and camera device can be added by option instead of forced initializing. Remove unneccessary code, used to check devices(virtgl & camera) Change-Id: Ie5cd5520ca17b7920342f6b2ae21e4c1f685c5e1 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/vl.c b/vl.c
index 69d834fd93..719816bf27 100644
--- a/vl.c
+++ b/vl.c
@@ -2449,12 +2449,6 @@ static int device_init_func(QemuOpts *opts, void *opaque)
{
DeviceState *dev;
-#ifdef CONFIG_MARU
- if(maru_device_check(opts) == -1) {
- return 0;
- }
-#endif
-
dev = qdev_device_add(opts);
if (!dev)
return -1;