flow: merge multiple case statements in a row together
commite2719e3adc7e55a549714dce1ef76954995858d8
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Apr 2016 09:57:53 +0000 (14 12:57 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Apr 2016 09:57:53 +0000 (14 12:57 +0300)
treecf803ecbda7e135ab97220e482931a787bae5f37
parent9f9ffc91394a89d456a16cf8530cc4c45d9f1f47
flow: merge multiple case statements in a row together

There is a kernel file where we have like 150 case statements in a row.
I forget which it is.  It was taking a very long time to process so I
thought I would do this to fix it.  Then after I finally wrote the code,
I couldn't find the file and apparently it wasn't in the top ten long
running files anymore.  But this should speed it up anyway.

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