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)
Sun, Feb 8, 12:38 PM
Unknown Object (File)
Sun, Feb 8, 12:03 AM
Unknown Object (File)
Mon, Feb 2, 11:49 AM
Unknown Object (File)
Sat, Jan 31, 2:14 PM
Unknown Object (File)
Jan 9 2026, 12:45 PM
Unknown Object (File)
Dec 27 2025, 6:55 PM
Unknown Object (File)
Dec 24 2025, 12:31 PM
Unknown Object (File)
Nov 20 2025, 10:39 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.