* commit '8405fe5a5203af18f39fd47b35606f0b32cd956c': remove seemed useless gralloc_open() call in fb_device_open()
This commit is contained in:
commit
186f8c5268
1 changed files with 0 additions and 5 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue