mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ustorage_fs_verify: eliminate write only variables file_offset and file_offset
Sponsored by: Netflix
This commit is contained in:
parent
f7097359c8
commit
7a1bef40f1
1 changed files with 0 additions and 8 deletions
|
|
@ -936,8 +936,6 @@ ustorage_fs_verify(struct ustorage_fs_softc *sc)
|
|||
struct ustorage_fs_lun *currlun = sc->sc_transfer.currlun;
|
||||
uint32_t lba;
|
||||
uint32_t vlen;
|
||||
uint64_t file_offset;
|
||||
uint64_t amount_left;
|
||||
|
||||
/*
|
||||
* Get the starting Logical Block Address
|
||||
|
|
@ -958,12 +956,6 @@ ustorage_fs_verify(struct ustorage_fs_softc *sc)
|
|||
}
|
||||
/* No default reply */
|
||||
|
||||
/* Prepare to carry out the file verify */
|
||||
amount_left = vlen;
|
||||
amount_left <<= 9;
|
||||
file_offset = lba;
|
||||
file_offset <<= 9;
|
||||
|
||||
/* Range check */
|
||||
vlen += lba;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue