diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-10-19 15:07:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-10-19 15:07:40 +0200 |
commit | 7f04124c149fa4d8e8f657907c581f10987003e2 (patch) | |
tree | d4f9c129f5ef7f4f28231766f449a12fb755b7e6 /common/state/backend_bucket_circular.c | |
parent | 71d764a4b05d3ca4ec8d14f71c9149fd0023424e (diff) | |
parent | 25c3fb28d8017595942115d4dbffc16d96f43930 (diff) | |
download | barebox-7f04124c149fa4d8e8f657907c581f10987003e2.tar.gz barebox-7f04124c149fa4d8e8f657907c581f10987003e2.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'common/state/backend_bucket_circular.c')
-rw-r--r-- | common/state/backend_bucket_circular.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c index f83bd679d7..2324903255 100644 --- a/common/state/backend_bucket_circular.c +++ b/common/state/backend_bucket_circular.c @@ -310,8 +310,6 @@ static int state_backend_bucket_circular_write(struct state_backend_storage_buck * random changes */ write_buf = xzalloc(written_length); - if (!write_buf) - return -ENOMEM; memcpy(write_buf, buf, len); meta = (struct state_backend_storage_bucket_circular_meta *) |