HomeFreeBSD

biosdisk.c remove redundant variable

Description

biosdisk.c remove redundant variable

rdev and disk serve the same purpose, read the partition table without
the d_offset or d_slice set, so the read is relative to the start of
the disk. Reuse the already initialized disk instead of making another
copy later.

Sponsored by: Klara Systems

Details

Provenance
allanjudeAuthored on
Parents
rS335245: Correct logic error in biosdisk.c:bd_realstrategy()
Branches
Unknown
Tags
Unknown