db: prevent slow downs splitting returns apart
commit0113db84ede010cf3941243279617896cfefa075
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Mar 2017 09:33:41 +0000 (15 12:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Mar 2017 09:33:41 +0000 (15 12:33 +0300)
tree33fa7a1a7d71e054967cf4feab5948cd6d0b79b5
parentd1b1d8f52889b6c7f0024da1498784279fd3020a
db: prevent slow downs splitting returns apart

When I wrote this, I was trying to prevent writing too much data to the
on disk database because it causes a slow down.  But it turns out that
just splitting the implications apart for isp1362_show_regs() can take an
extremely long time.

My test case is isp1362_show_regs().  This doesn't affect the released code
but it affects some stuff I'm working on.  And it generally seems like
the right thing to do.

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