]> git.baikalelectronics.ru Git - kernel.git/commit
netlabel: remove unused param from audit_log_format()
authorAlex Dewar <alex.dewar90@gmail.com>
Fri, 28 Aug 2020 13:55:23 +0000 (14:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 16:08:51 +0000 (09:08 -0700)
commit315063644af93292f09e3f224828563af1091019
tree3a162e1b913a7d9e397cdbf67996d1e068b9d752
parente0e6ece088876ab8aa51ad34afdb46cf53e8fb14
netlabel: remove unused param from audit_log_format()

Commit b0122b012fff ("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: b0122b012fff ("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>
net/netlabel/netlabel_domainhash.c