zephyr/kernel
Flavio Ceolin 061a2c5b63 kernel: mempool: Remove unnecessary condition check
Removing an unnecessary check in k_mem_pool_alloc. The condition is
already being checked in the if.

MISRA-C rule 14.3

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-09-28 07:58:19 +05:30
..
include kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
CMakeLists.txt kernel: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for kernel files. 2018-05-15 17:48:18 +03:00
Kconfig kernel: add a new API for setting thread names 2018-09-27 08:58:55 +05:30
Kconfig.power_mgmt doc: fix kconfig misspellings 2018-08-28 13:58:46 -04:00
alert.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
atomic_c.c
compiler_stack_protect.c
device.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
errno.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
idle.c kernel: Using boolean types for boolean constants 2018-09-28 06:28:41 +05:30
init.c kernel: Using boolean types for boolean constants 2018-09-28 06:28:41 +05:30
int_latency_bench.c
mailbox.c kernel: Sanitize if else statement according with MISRA-C 2018-09-28 07:58:19 +05:30
mem_domain.c kernel: Using boolean expression on ASSERT macros 2018-09-28 06:28:41 +05:30
mem_slab.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
mempool.c kernel: mempool: Remove unnecessary condition check 2018-09-28 07:58:19 +05:30
msg_q.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
mutex.c kernel: Using boolean types for boolean constants 2018-09-28 06:28:41 +05:30
pipes.c portability: Avoid void* arithmetics which is a GNU extension 2018-09-28 07:57:28 +05:30
poll.c kernel: Calling Z_SYSCALL_VERIFY_MSG with boolean expressions 2018-09-28 06:28:41 +05:30
queue.c kernel: Compare pointers with NULL in while statements 2018-09-18 13:57:15 -04:00
sched.c kernel: sched: Change boolean APIs to return bool 2018-09-28 06:28:41 +05:30
sem.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
smp.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
stack.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
sys_clock.c kernel: sys_clock: Remove unnecessary if 2018-09-28 07:58:19 +05:30
system_work_q.c
thread.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
thread_abort.c kernel: Using boolean expression on ASSERT macros 2018-09-28 06:28:41 +05:30
timer.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
userspace.c kernel: Sanitize if else statement according with MISRA-C 2018-09-28 07:58:19 +05:30
userspace_handler.c kernel: Calling Z_SYSCALL_VERIFY_MSG with boolean expressions 2018-09-28 06:28:41 +05:30
version.c
work_q.c kernel: add a new API for setting thread names 2018-09-27 08:58:55 +05:30