diff options
Diffstat (limited to 'common/misc.c')
-rw-r--r-- | common/misc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/misc.c b/common/misc.c index 4ec0e22aaa..d5ddfc4917 100644 --- a/common/misc.c +++ b/common/misc.c @@ -146,10 +146,7 @@ EXPORT_SYMBOL(barebox_set_model); const char *barebox_get_model(void) { - if (model) - return model; - - return CONFIG_BOARDINFO; + return model; } EXPORT_SYMBOL(barebox_get_model); |