mtag_data: remove duplicate mtag_data and random small cleanups
commit22d609501af6cdc5e9fbadf5e255eb15f1bd5f29
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 24 Aug 2018 11:02:02 +0000 (24 14:02 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 24 Aug 2018 11:02:02 +0000 (24 14:02 +0300)
tree26ec9c945e5d515be2cbb9bedf6a35a7f79a314d
parent195efb8318c0513f87df81388eccbf3f0911ed56
mtag_data: remove duplicate mtag_data and random small cleanups

The one behavior change here is that we call "delete from mtag_data" to
delete the old data.  We weren't supposed to have duplicate lines.

The change to save_mtag_data() is purely cosmetic.  When we preserve the
mtag_data, I only want to preserve DATA_VALUE information because that's
the only one that does the weird thing with saving pointers in the DB.

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