diff options
author | Wang Hai <[email protected]> | 2020-09-04 21:12:47 +0800 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-09-21 10:13:18 +0200 |
commit | b060585d92cb0fe9c4f29ea412ea6b3da3ab136b (patch) | |
tree | 70230df3308550f1c3b973fe2d7ca19ae46d7cea | |
parent | bd412492465c5d29f3e9de01c7efdcc0b3c7c69d (diff) |
can: peak_canfd: Remove unused macros
CANFD_CLK_SEL_DIV_MASK and CANFD_OPTIONS_SET are
never used after they were introduced. Remove them.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mkl: keep CANFD_CLK_SEL_DIV_MASK for documentation purpose]
Signed-off-by: Marc Kleine-Budde <[email protected]>
-rw-r--r-- | drivers/net/can/peak_canfd/peak_pciefd_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/peak_canfd/peak_pciefd_main.c b/drivers/net/can/peak_canfd/peak_pciefd_main.c index 9469d4421afe..0df1cdfa6835 100644 --- a/drivers/net/can/peak_canfd/peak_pciefd_main.c +++ b/drivers/net/can/peak_canfd/peak_pciefd_main.c @@ -116,8 +116,6 @@ MODULE_LICENSE("GPL v2"); #define CANFD_CTL_IRQ_CL_DEF 16 /* Rx msg max nb per IRQ in Rx DMA */ #define CANFD_CTL_IRQ_TL_DEF 10 /* Time before IRQ if < CL (x100 µs) */ -#define CANFD_OPTIONS_SET (CANFD_OPTION_ERROR | CANFD_OPTION_BUSLOAD) - /* Tx anticipation window (link logical address should be aligned on 2K * boundary) */ |