Page MenuHomeFreeBSD

Fix gcc warnings in sys/dev/cxgbe/t4_main.c
ClosedPublic

Authored by dim on Mar 12 2016, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 7:53 AM
Unknown Object (File)
Sun, Nov 23, 9:57 AM
Unknown Object (File)
Fri, Nov 21, 9:28 AM
Unknown Object (File)
Wed, Nov 19, 1:08 PM
Unknown Object (File)
Wed, Nov 19, 1:54 AM
Unknown Object (File)
Mon, Nov 17, 3:27 AM
Unknown Object (File)
Thu, Nov 13, 7:18 PM
Unknown Object (File)
Thu, Nov 13, 7:13 PM
Subscribers

Details

Summary

Fix the following gcc warnings on sparc64, when TCP_OFFLOAD is not
defined:

sys/dev/cxgbe/t4_main.c:7474: warning: 'sysctl_tp_tick' defined but not used
sys/dev/cxgbe/t4_main.c:7505: warning: 'sysctl_tp_dack_timer' defined but not used
sys/dev/cxgbe/t4_main.c:7519: warning: 'sysctl_tp_timer' defined but not used

This just adds a bunch of #ifdef TCP_OFFLOAD in the right places.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dim retitled this revision from to Fix gcc warnings in sys/dev/cxgbe/t4_main.c.
dim updated this object.
dim edited the test plan for this revision. (Show Details)
dim added a reviewer: np.
dim added a subscriber: bz.
np edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2016, 5:00 PM
This revision was automatically updated to reflect the committed changes.