]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: m_can: remove a copy of the NAPI_POLL_WEIGHT define
authorJakub Kicinski <kuba@kernel.org>
Fri, 29 Apr 2022 17:44:46 +0000 (10:44 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 2 May 2022 07:24:40 +0000 (09:24 +0200)
commite1cf330fa28acc342e527baf12298a5fd8219bad
treedfd230793e5fd748c10a03888c8e151fa6753766
parent35a78bf20033d5d7b1c53cb5616732dbf6ec9890
can: m_can: remove a copy of the NAPI_POLL_WEIGHT define

Defining local versions of NAPI_POLL_WEIGHT with the same values in
the drivers just makes refactoring harder.

Link: https://lore.kernel.org/all/20220429174446.196655-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c