common/sfc_efx/base: factor out no-op helper functions
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 5 Nov 2021 21:54:07 +0000 (00:54 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Nov 2021 15:25:51 +0000 (16:25 +0100)
commitecf2cb283ee6306678efd0543cbaa01ef98c9ad8
treeb0f07c3627d6d1157856549fee6d0a7bc57bb41d
parente8745b54126e263a07f98849cc9a390ac31fe111
common/sfc_efx/base: factor out no-op helper functions

When an action gets added to an action set, a special helper is
used to handle its arguments. There are actions which have no
arguments, and the corresponding helpers are duplicates in
fact. Use a unified no-op helper instead of them.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/base/efx_mae.c