Skip to content
Commit 0f091e43 authored by Alex Dewar's avatar Alex Dewar Committed by David S. Miller
Browse files

netlabel: remove unused param from audit_log_format()

Commit d3b990b7 ("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: d3b990b7

 ("netlabel: fix problems with mapping removal")
Signed-off-by: default avatarAlex Dewar <alex.dewar90@gmail.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3fb15b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment