helper: strip out the byte swaps in strip_expr()
commit23fbd8659a0772775c336f3aad72825fa05aabf5
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Jun 2018 13:59:56 +0000 (6 16:59 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Jun 2018 13:59:56 +0000 (6 16:59 +0300)
treec532cdd4e59a21cc375bca79a4a3811b96a69f48
parent0e300a440ac0274d2766a17a36e43a4dc16d78f5
helper: strip out the byte swaps in strip_expr()

Generally I have adopted the theory that it's easier to just ignore byte
swaps.  That way maybe if someone takes a value, byte swaps it, then byte
swaps it back, I'll know what the value is.

It's a hack, and I'm not positive it works but so far it hasn't hurt
anything that I know of.

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