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)
Mon, Apr 6, 9:34 AM
Unknown Object (File)
Sun, Apr 5, 7:49 PM
Unknown Object (File)
Wed, Apr 1, 8:07 PM
Unknown Object (File)
Sun, Mar 29, 12:07 AM
Unknown Object (File)
Sat, Mar 28, 5:05 PM
Unknown Object (File)
Fri, Mar 27, 12:48 AM
Unknown Object (File)
Tue, Mar 24, 3:58 PM
Unknown Object (File)
Mar 9 2026, 10:00 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.