Page MenuHomeFreeBSD

ses: minor cleanup
ClosedPublic

Authored by asomers on Aug 25 2021, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 11:32 PM
Unknown Object (File)
Wed, Apr 10, 7:10 PM
Unknown Object (File)
Feb 9 2024, 8:08 PM
Unknown Object (File)
Jan 12 2024, 8:03 AM
Unknown Object (File)
Dec 20 2023, 5:57 AM
Unknown Object (File)
Dec 12 2023, 11:39 PM
Unknown Object (File)
Oct 14 2023, 1:42 PM
Unknown Object (File)
Oct 4 2023, 7:01 PM
Subscribers

Details

Summary
  • Prefer variables of small scope rather than large scope
  • Remove a magic number
  • style(9) for return statements
  • Remove the get_enc_status method, which never did anything
  • Proofread some comments

MFC after: 2 weeks
Sponsored by: Spectra Logic, Axcient

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 19 2022, 6:29 PM

Looks good to me. I was just thinking recently whether we could bury SAF-TE support and all this indirection one day. My only SAF-TE enclosure is parallel SCSI I haven't touched for 5 years.

This revision was automatically updated to reflect the committed changes.