Skip to content

Commit 319cbfb

Browse files
committed
unneeded return statement
1 parent cb84ac3 commit 319cbfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/registers/model_specific.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ mod x86_64 {
264264
SegmentSelector,
265265
) {
266266
let raw = Self::read_raw();
267-
return (
267+
(
268268
SegmentSelector((raw.0 + 16).try_into().unwrap()),
269269
SegmentSelector((raw.0 + 8).try_into().unwrap()),
270270
SegmentSelector((raw.1).try_into().unwrap()),
271271
SegmentSelector((raw.1 + 8).try_into().unwrap()),
272-
);
272+
)
273273
}
274274

275275
/// Write the Ring 0 and Ring 3 segment bases.

0 commit comments

Comments
 (0)