Page MenuHomeFreeBSD

ses: minor cleanup
ClosedPublic

Authored by asomers on Aug 25 2021, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 2, 3:11 AM
Unknown Object (File)
Wed, Dec 31, 2:35 AM
Unknown Object (File)
Sun, Dec 28, 3:17 PM
Unknown Object (File)
Mon, Dec 22, 5:14 AM
Unknown Object (File)
Sun, Dec 21, 10:16 PM
Unknown Object (File)
Wed, Dec 17, 6:22 AM
Unknown Object (File)
Fri, Dec 12, 12:33 PM
Unknown Object (File)
Tue, Dec 9, 1:27 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41217
Build 38106: arc lint + arc unit

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.