pfilter: remove assignment to registers
There is no need to assign register names to numbers explicitly,
because there's always the risk to make errors.
This also adds a build-time check for any overflow of the 22 registers:
if we allocate more than 22, it won't build.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment