can: rcar_canfd: Drop the mask operation in RCANFD_GAFLCFG_SETRNC macro
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 17 Apr 2025 05:43:07 +0000 (06:43 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 21 May 2025 12:31:24 +0000 (14:31 +0200)
commitc9e17c91f1656f90b06e5cd2f39dfaab08de9611
tree0d87841f0156165abd21d544550dc52f041cc9dd
parentb75fcf2af2dbbc5f913cf1b9194ed01ce9c068b6
can: rcar_canfd: Drop the mask operation in RCANFD_GAFLCFG_SETRNC macro

Drop the mask operation in RCANFD_GAFLCFG_SETRNC macro as the num_rules
can never be larger than number of supported rules.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20250417054320.14100-7-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar/rcar_canfd.c