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
F153549482: D19051.diff
Tue, Apr 21, 8:10 PM
Unknown Object (File)
Mon, Apr 20, 2:01 PM
Unknown Object (File)
Sun, Apr 19, 12:53 PM
Unknown Object (File)
Sun, Apr 19, 12:54 AM
Unknown Object (File)
Sat, Apr 18, 10:37 PM
Unknown Object (File)
Sat, Apr 18, 9:50 AM
Unknown Object (File)
Sat, Apr 18, 9:02 AM
Unknown Object (File)
Fri, Apr 17, 2:01 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.