From 309d3b7ffc1cdd4e0368b01d7842f699511008e4 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 11 Feb 2015 11:36:18 -0500 Subject: [PATCH] ctf-ir: allow 1-bit signed integer types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- formats/ctf/ir/event-types.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/formats/ctf/ir/event-types.c b/formats/ctf/ir/event-types.c index d1d9c771e..ff0b46ff2 100644 --- a/formats/ctf/ir/event-types.c +++ b/formats/ctf/ir/event-types.c @@ -417,11 +417,6 @@ int bt_ctf_field_type_integer_set_signed(struct bt_ctf_field_type *type, } integer = container_of(type, struct bt_ctf_field_type_integer, parent); - if (is_signed && integer->declaration.len <= 1) { - ret = -1; - goto end; - } - integer->declaration.signedness = !!is_signed; end: return ret; -- 2.34.1