svn commit: r317379 - head/sys/dev/bhnd/nvram
Landon J. Fuller
landonf at FreeBSD.org
Mon Apr 24 18:09:54 UTC 2017
Author: landonf
Date: Mon Apr 24 18:09:52 2017
New Revision: 317379
URL: https://svnweb.freebsd.org/changeset/base/317379
Log:
Drop unused/unnecessary return statement.
Reported by: Coverity
CID: 1373118
Approved by: adrian (mentor, implicit)
Modified:
head/sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
Modified: head/sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
==============================================================================
--- head/sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c Mon Apr 24 16:52:26 2017 (r317378)
+++ head/sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c Mon Apr 24 18:09:52 2017 (r317379)
@@ -1256,7 +1256,6 @@ bhnd_nvram_sprom_read_var(struct bhnd_sp
/* Provide value wrapper */
return (bhnd_nvram_val_init(val, var->fmt, inp, ilen, var->type,
BHND_NVRAM_VAL_BORROW_DATA));
- return (error);
}
More information about the svn-src-all
mailing list