bits: get rid of "unknown_bit_info"
commitf14e6bc6c0b77bb1c3fd65ab0071a3ae8ffebb36
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Jul 2021 12:41:47 +0000 (29 15:41 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Jul 2021 12:41:47 +0000 (29 15:41 +0300)
treeec1aaf841e6cdbe1cc3946d14d5687b83b4d96bf
parent4fac304b85a025f00e7382e1fdfc86b66f22b564
bits: get rid of "unknown_bit_info"

The "unknown_bit_info" global is useless and ugly.  It assumes that every
thing is 64 bits.  It's better to declare it on the stack.

Also move get_type_possible() into its own function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_bits.c