This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 5cc5decd64 can/sja100: leave critical section properly
5cc5decd64 is described below
commit 5cc5decd64dbdba4c2ffcc3ca118b266f594edbc
Author: chao an <[email protected]>
AuthorDate: Fri Nov 15 16:37:11 2024 +0800
can/sja100: leave critical section properly
leave critical section properly before return
Signed-off-by: chao an <[email protected]>
---
drivers/can/sja1000.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/can/sja1000.c b/drivers/can/sja1000.c
index b5175768c2..681151a05b 100644
--- a/drivers/can/sja1000.c
+++ b/drivers/can/sja1000.c
@@ -339,7 +339,6 @@ static int sja1000_setup(struct can_dev_s *dev)
if (ret < 0)
{
canerr("ERROR: Failed to attach to IRQ Handler!\n");
- return ret;
}
#ifdef CONFIG_ARCH_HAVE_MULTICPU