Page MenuHomeFreeBSD

cam/scsi: Use switch instead of chained if/else
ClosedPublic

Authored by freqlabs on Feb 1 2019, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 27, 6:55 PM
Unknown Object (File)
Wed, Dec 24, 12:31 PM
Unknown Object (File)
Nov 20 2025, 10:39 PM
Unknown Object (File)
Nov 20 2025, 10:38 PM
Unknown Object (File)
Nov 20 2025, 10:36 PM
Unknown Object (File)
Nov 20 2025, 10:29 PM
Unknown Object (File)
Nov 4 2025, 3:50 AM
Unknown Object (File)
Oct 26 2025, 10:22 PM
Subscribers

Details

Summary

Using a switch statement helps improve readability.

Sponsored by: iXsystems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 1 2019, 3:50 AM
This revision was automatically updated to reflect the committed changes.