diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-06-12 15:16:18 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-06-12 15:16:18 -0700 |
commit | 8405fe5a5203af18f39fd47b35606f0b32cd956c (patch) | |
tree | e72797e26c319f894d00bcab3a8115a69ac0b1ad /modules/gralloc | |
parent | 8350f364f7fad55286c2dcb0e1e985e139646355 (diff) | |
parent | 1fbbb08ddda4321ccdb05345658044c1f0235997 (diff) | |
download | hardware_libhardware-8405fe5a5203af18f39fd47b35606f0b32cd956c.zip hardware_libhardware-8405fe5a5203af18f39fd47b35606f0b32cd956c.tar.gz hardware_libhardware-8405fe5a5203af18f39fd47b35606f0b32cd956c.tar.bz2 |
am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"
* commit '1fbbb08ddda4321ccdb05345658044c1f0235997':
remove seemed useless gralloc_open() call in fb_device_open()
Diffstat (limited to 'modules/gralloc')
-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 a37e2c0..326f2ae 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)); |