diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-11-26 23:15:28 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-11-26 23:15:28 +0000 |
commit | 0e4fb1db4431b47e40a77dfee91d2ad09093d4ce (patch) | |
tree | b4f599dae88044e1244c463e26e59fac4cd01126 /sys/netipsec/xform_esp.c | |
parent | 0a95a08ecbe196da7b1942bf49e5476945e6d293 (diff) | |
download | src-0e4fb1db4431b47e40a77dfee91d2ad09093d4ce.tar.gz src-0e4fb1db4431b47e40a77dfee91d2ad09093d4ce.zip |
Eliminate 'err' variable and just use existing 'error'.
Notes
Notes:
svn path=/head/; revision=228010
Diffstat (limited to 'sys/netipsec/xform_esp.c')
-rw-r--r-- | sys/netipsec/xform_esp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipsec/xform_esp.c b/sys/netipsec/xform_esp.c index e5d531415db4..87929de680fc 100644 --- a/sys/netipsec/xform_esp.c +++ b/sys/netipsec/xform_esp.c @@ -918,7 +918,7 @@ esp_output_cb(struct cryptop *crp) struct ipsecrequest *isr; struct secasvar *sav; struct mbuf *m; - int err, error; + int error; tc = (struct tdb_crypto *) crp->crp_opaque; IPSEC_ASSERT(tc != NULL, ("null opaque data area!")); @@ -1000,10 +1000,10 @@ esp_output_cb(struct cryptop *crp) #endif /* NB: m is reclaimed by ipsec_process_done. */ - err = ipsec_process_done(m, isr); + error = ipsec_process_done(m, isr); KEY_FREESAV(&sav); IPSECREQUEST_UNLOCK(isr); - return err; + return error; bad: if (sav) KEY_FREESAV(&sav); |