summaryrefslogtreecommitdiff
path: root/board/boundary/h/h.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/boundary/h/h.c')
-rw-r--r--board/boundary/h/h.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/boundary/h/h.c b/board/boundary/h/h.c
index b73b2fde186..c249995fb6d 100644
--- a/board/boundary/h/h.c
+++ b/board/boundary/h/h.c
@@ -556,9 +556,7 @@ int board_video_skip(void)
int ret;
char const *panel = getenv("panel");
struct display_info_t const *display = 0;
- if (!panel)
- panel = "1024x600";
- if (0 == strcmp(panel, "1024x600"))
+ if (!panel || !strcmp(panel, "1024x600"))
display = &d_1024x600;
else if (0 == strcmp(panel, "INNOLUX-WVGA"))
display = &d_innolux_wvga;