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)
Oct 26 2024, 5:26 PM
Unknown Object (File)
Oct 15 2024, 12:19 PM
Unknown Object (File)
Oct 1 2024, 12:33 PM
Unknown Object (File)
Sep 30 2024, 11:23 PM
Unknown Object (File)
Sep 30 2024, 7:27 AM
Unknown Object (File)
Sep 21 2024, 5:25 AM
Unknown Object (File)
Sep 21 2024, 4:58 AM
Unknown Object (File)
Sep 17 2024, 1:22 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.