diff options
author | Alex Dewar <alex.dewar90@gmail.com> | 2020-08-28 16:55:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-28 19:08:51 +0300 |
commit | 0f091e43310f5c292b7094f9f115e651358e8053 (patch) | |
tree | 3a162e1b913a7d9e397cdbf67996d1e068b9d752 /net/netlink | |
parent | f3fb15b93aa992fdda5cf5351aaefc4a58342a2c (diff) | |
download | linux-0f091e43310f5c292b7094f9f115e651358e8053.tar.xz |
netlabel: remove unused param from audit_log_format()
Commit d3b990b7f327 ("netlabel: fix problems with mapping removal")
added a check to return an error if ret_val != 0, before ret_val is
later used in a log message. Now it will unconditionally print "...
res=1". So just drop the check.
Addresses-Coverity: ("Dead code")
Fixes: d3b990b7f327 ("netlabel: fix problems with mapping removal")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions