Page MenuHomeFreeBSD

lagg: Remove the member pr_num from struct lagg_proto
ClosedPublic

Authored by zlei on Thu, Feb 5, 5:22 AM.
Tags
None
Referenced Files
F144750620: D55124.id171316.diff
Thu, Feb 12, 3:11 AM
F144734819: D55124.diff
Wed, Feb 11, 9:23 PM
F144733983: D55124.id.diff
Wed, Feb 11, 9:05 PM
F144730996: D55124.diff
Wed, Feb 11, 7:56 PM
F144729850: D55124.diff
Wed, Feb 11, 7:30 PM
F144729503: D55124.id171249.diff
Wed, Feb 11, 7:22 PM
Subscribers

Details

Summary

It is set but never used. Remove it to avoid confusing and save a little
spaces.

While here, use designated initializers to initialize the lagg protocol
table. That improves readability, and will be safer to initialize the
protocol table if we will introduce new protocols in future.

No functional change intended.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable