state: remove checks for xzalloc() returning NULL
This ports the following barebox commit:

| commit 25e67cb
| Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| Date:   Mon Sep 25 12:02:35 2017 +0200
|
|     remove checks for xzalloc() returning NULL
|
|     xzalloc() either returns memory or panics, so checking for NULL is useless.
|
|     Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
1 parent 93fb407 commit d32a8de0e9d23db601f06676ff432e495ae1156e
@Ulrich Ölmann Ulrich Ölmann authored on 18 Dec 2018
Roland Hieber committed on 7 Jan 2019
Showing 3 changed files
View
src/barebox-state/backend_bucket_circular.c
View
src/barebox-state/backend_format_dtb.c
View
src/barebox-state/backend_format_raw.c