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)
Dec 5 2024, 8:54 PM
Unknown Object (File)
Nov 8 2024, 8:45 AM
Unknown Object (File)
Nov 7 2024, 4:17 PM
Unknown Object (File)
Oct 6 2024, 2:45 PM
Unknown Object (File)
Oct 6 2024, 3:36 AM
Unknown Object (File)
Oct 5 2024, 11:57 AM
Unknown Object (File)
Oct 5 2024, 10:39 AM
Unknown Object (File)
Sep 2 2024, 2:01 AM
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.