buf_size: remove cast_ratio()
commit6628c310ce41b1e23922637040fea0fe164be01d
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jun 2012 13:39:32 +0000 (13 16:39 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jun 2012 13:39:32 +0000 (13 16:39 +0300)
tree3984dd5f77f2fae61cab63a14f022f482645b03e
parent5604845a144d1448c9304d5be7c1bd26f24bae8b
buf_size: remove cast_ratio()

The cast_ratio stuff got broken a few commits back.  It was supposed to
take a expression that had not been passed through strip_expr().  But the
get_array_size() function had a strip_expr() call introduced and it broke
everything.

Just delete this code because I hate it.  Will fix it up shortly.

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