Page MenuHomeFreeBSD

lagg: Remove the member pr_num from struct lagg_proto
ClosedPublic

Authored by zlei on Thu, Feb 5, 5:22 AM.

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 Skipped
Unit
Tests Skipped