summaryrefslogtreecommitdiffstats
path: root/common/state/backend_format_dtb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/state/backend_format_dtb.c')
-rw-r--r--common/state/backend_format_dtb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/state/backend_format_dtb.c b/common/state/backend_format_dtb.c
index 4c9d2eefc7..48f30db1f5 100644
--- a/common/state/backend_format_dtb.c
+++ b/common/state/backend_format_dtb.c
@@ -136,8 +136,6 @@ int backend_format_dtb_create(struct state_backend_format **format,
struct state_backend_format_dtb *dtb;
dtb = xzalloc(sizeof(*dtb));
- if (!dtb)
- return -ENOMEM;
dtb->dev = dev;
dtb->format.pack = state_backend_format_dtb_pack;