aboutsummaryrefslogtreecommitdiff
path: root/frontend/plat_omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/plat_omap.c')
-rw-r--r--frontend/plat_omap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c
index 96f75ce..1a725ff 100644
--- a/frontend/plat_omap.c
+++ b/frontend/plat_omap.c
@@ -166,7 +166,6 @@ void *plat_prepare_screenshot(int *w, int *h, int *bpp)
void plat_init(void)
{
const char *main_fb_name, *layer_fb_name;
- void *temp_frame;
int fd, ret, w, h;
main_fb_name = getenv("FBDEV_MAIN");
@@ -218,13 +217,6 @@ void plat_init(void)
goto fail0;
}
- temp_frame = calloc(g_menuscreen_w * g_menuscreen_h * 2, 1);
- if (temp_frame == NULL) {
- fprintf(stderr, "OOM\n");
- goto fail1;
- }
- g_menubg_ptr = temp_frame;
-
plat_pandora_init(); // XXX
return;