commit | 07ff2ed03bb874a5bb97361a5a07ee28f1afa574 | [log] [tgz] |
---|---|---|
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | Sun Apr 30 12:14:44 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 01 11:42:51 2017 -0400 |
tree | 2e62854b1a21bbb81fe06d8f8a33f13b48b222c4 | |
parent | a6e8ab8e729065f716790fb9429f53393f72d7b4 [diff] |
qed: Prevent warning without CONFIG_RFS_ACCEL After removing the PTP related initialization from slowpath start, the remaining PTT entry is required only in case CONFIG_RFS_ACCEL is set. Otherwise, it leads to a warning due to it being unused. Fixes: d179bd1699fc ("qed: Acquire/release ptt_ptp lock when enabling/disabling PTP") Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>