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)
Sun, May 10, 4:14 AM
Unknown Object (File)
Sun, May 10, 4:10 AM
Unknown Object (File)
Thu, May 7, 2:18 PM
Unknown Object (File)
Thu, May 7, 1:22 PM
Unknown Object (File)
Thu, May 7, 10:22 AM
Unknown Object (File)
Wed, Apr 29, 8:27 AM
Unknown Object (File)
Wed, Apr 29, 8:20 AM
Unknown Object (File)
Tue, Apr 28, 3:35 AM
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.