zephyr/scripts/coccinelle
Himanshu Jha 40b5442699 coccinelle: Add script to remove unnecessary return variable
This script helps to remove bogus intermediate local variable
used in functions to store return value and instead return
directly while saving few bits of memory.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-11-28 11:54:01 -08:00
..
array_size.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
deref_null.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
ignore_return.cocci
irq_lock.cocci
mini_lock.cocci coccinelle: Add script to find cases of missing locks 2018-11-07 10:32:59 -05:00
noderef.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
returnvar.cocci coccinelle: Add script to remove unnecessary return variable 2018-11-28 11:54:01 -08:00
semicolon.cocci coccinelle: Suppress reports/warnings for ext/ 2018-11-14 19:20:34 -05:00
unsigned_lesser_than_zero.cocci coccinelle: Add script to find cases of unsigned < 0 2018-11-07 10:33:43 -05:00
unsigned_shift.cocci