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, Sep 12, 3:24 AM
Unknown Object (File)
Thu, Sep 10, 6:59 AM
Unknown Object (File)
Sat, Sep 5, 5:00 PM
Unknown Object (File)
Sat, Sep 5, 5:00 PM
Unknown Object (File)
Sat, Sep 5, 1:54 PM
Unknown Object (File)
Sat, Sep 5, 12:27 PM
Unknown Object (File)
Sat, Sep 5, 6:01 AM
Unknown Object (File)
Sat, Sep 5, 2:45 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.