drivers: can: can_set_bitrate is not a syscall
There was a verification function for can_set_bitrate calling a syscall implementation. But, can_set_bitrate is not a syscall and does not need to be because it is accessing the driver through other syscalls. Fixes #34734 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
f98bc0c0bc
commit
18e9ec70d6
1 changed files with 0 additions and 11 deletions
|
@ -19,17 +19,6 @@ static inline int z_vrfy_can_set_timing(const struct device *dev,
|
|||
}
|
||||
#include <syscalls/can_set_timing_mrsh.c>
|
||||
|
||||
static inline int z_vrfy_can_set_bitrate(const struct device *dev,
|
||||
uint32_t bitrate)
|
||||
{
|
||||
|
||||
Z_OOPS(Z_SYSCALL_DRIVER_CAN(dev, set_bitrate));
|
||||
|
||||
return z_impl_can_set_bitrate((const struct device *)dev,
|
||||
(uint32_t)bitrate);
|
||||
}
|
||||
#include <syscalls/can_set_bitrate_mrsh.c>
|
||||
|
||||
static inline int z_vrfy_can_get_core_clock(const struct device *dev,
|
||||
uint32_t *rate)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue