Searched hist:"4318 b1aa22b7b44209ec5d079c83e3bae3b9c077" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | at91_can.c | diff 4318b1aa22b7b44209ec5d079c83e3bae3b9c077 Wed May 05 03:06:24 CDT 2021 Marc Kleine-Budde <mkl@pengutronix.de> can: at91_can: silence clang warning
This patch fixes the following clang warning, by marking the functions as maybe unused. gcc doesn't complain about unused inline functions.
| drivers/net/can/at91_can.c:178:1: warning: unused function 'at91_is_sam9X5' [-Wunused-function] | AT91_IS(9X5); | ^ | drivers/net/can/at91_can.c:172:19: note: expanded from macro 'AT91_IS' | static inline int at91_is_sam##_model(const struct at91_priv *priv) \ | ^ | <scratch space>:66:1: note: expanded from here | at91_is_sam9X5 | ^
Link: https://lore.kernel.org/r/20210514153741.1958041-2-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|