Closed smadaminov closed 2 years ago
removed the unused variables
local patch: 0001-fix-unused-parameter-warnings-for-sflow-functions.patch
submitted a patch to the dev list
First version of the patch didn't pass the check by utilities/checkpatch.py
tool. So I fixed that and submitted the second version. The problem was caused by the lack of indentation between for
keyword and opening left paren. Then, the line containing for
should end with a curly brace.
Patch has been accepted. Closing.
Functions
sfl_poller_tick
,sfl_sampler_tick
, andsfl_receiver_tick
have unused parameternow
. This results in warnings during compilation. Specifically,