links: no need to record links outside a function call
commit178046e79d909ed34278e9b87badec4325beb3b7
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Jan 2018 22:19:24 +0000 (9 01:19 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Jan 2018 22:19:24 +0000 (9 01:19 +0300)
tree8e532e1809294bfe3022c66e2ca22cccefce8f5a
parent7a9666c48f9551446380f3d24d6f91b512b22e3d
links: no need to record links outside a function call

Storing the links ends up being not very scalable.  The whole idea of
links is probably not the right thing...  How this shows up in the kernel
is parsing huge arrays takes a very long time.  Most of these are global.
And it turns out we don't care about links at all for globals so it's a
special case and we can hack around the problem instead of figuring out a
complete fix.

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