base: Kernel code size reduction

This patch further reduces the kernel code size by removing some unnecessary
error checks and also using logical bitwise operators for checking states and
flags.

Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>
3 files changed