diff options
author | suyi Yuan <yuan.suyi@gmail.com> | 2012-03-15 15:27:02 +0800 |
---|---|---|
committer | suyi Yuan <yuan.suyi@gmail.com> | 2012-03-15 15:27:02 +0800 |
commit | 539c9936aec9cdd75054e24e07e7decdd1d4de39 (patch) | |
tree | 575e2550ea8ef3c76d15d5ffc14f49e8dd4ff53a /modules | |
parent | f1d76bb7446961be2221fa8a597d60643b7803be (diff) | |
download | hardware_libhardware-539c9936aec9cdd75054e24e07e7decdd1d4de39.zip hardware_libhardware-539c9936aec9cdd75054e24e07e7decdd1d4de39.tar.gz hardware_libhardware-539c9936aec9cdd75054e24e07e7decdd1d4de39.tar.bz2 |
remove seemed useless gralloc_open() call in fb_device_open()
Change-Id: I520e460bd558934c71042b5a4fdb03b3935ad720
Signed-off-by: suyi Yuan <yuan.suyi@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gralloc/framebuffer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp index f908976..52c838b 100644 --- a/modules/gralloc/framebuffer.cpp +++ b/modules/gralloc/framebuffer.cpp @@ -312,11 +312,6 @@ int fb_device_open(hw_module_t const* module, const char* name, { int status = -EINVAL; if (!strcmp(name, GRALLOC_HARDWARE_FB0)) { - alloc_device_t* gralloc_device; - status = gralloc_open(module, &gralloc_device); - if (status < 0) - return status; - /* initialize our state here */ fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); memset(dev, 0, sizeof(*dev)); |