Page MenuHomeFreeBSD

ses: minor cleanup
ClosedPublic

Authored by asomers on Aug 25 2021, 9:11 PM.
Tags
None
Referenced Files
F149064315: D31686.id101649.diff
Sun, Mar 22, 2:20 AM
Unknown Object (File)
Sat, Mar 21, 5:26 AM
Unknown Object (File)
Fri, Mar 20, 3:15 AM
Unknown Object (File)
Thu, Mar 19, 9:48 PM
Unknown Object (File)
Tue, Mar 17, 1:14 PM
Unknown Object (File)
Tue, Mar 17, 1:08 PM
Unknown Object (File)
Thu, Mar 12, 4:58 PM
Unknown Object (File)
Thu, Mar 12, 2:20 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 41218
Build 38107: 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.