summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-12-08 15:13:27 +0000
committerDavid Howells <dhowells@redhat.com>2017-12-08 15:13:27 +0000
commita2d8737d5c781d388b553dd085b56d7295fffc6c (patch)
treee1a015e62fcb62ea4b6c1a3993e0dcbf415cffc5 /scripts/package
parentfd6d2e506ce6f850d45342a15c896591291b77b5 (diff)
KEYS: remove unnecessary get/put of explicit dest_keyring
In request_key_and_link(), in the case where the dest_keyring was explicitly specified, there is no need to get another reference to dest_keyring before calling key_link(), then drop it afterwards. This is because by definition, we already have a reference to dest_keyring. This change is useful because we'll be making construct_get_dest_keyring() able to return an error code, and we don't want to have to handle that error here for no reason. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions