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
F169182060: D19051.diff
Mon, Aug 31, 6:01 PM
F169108612: D19051.id.diff
Mon, Aug 31, 10:49 AM
Unknown Object (File)
Sun, Aug 30, 8:06 PM
Unknown Object (File)
Sat, Aug 29, 5:58 PM
Unknown Object (File)
Fri, Aug 28, 11:29 AM
Unknown Object (File)
Thu, Aug 27, 7:21 PM
Unknown Object (File)
Wed, Aug 26, 6:03 PM
Unknown Object (File)
Wed, Aug 26, 5:31 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.