mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
This semantic patch looks for variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz> |
History
|
|
|---|---|---|
| .. | ||
| boolinit.cocci | ||
| boolreturn.cocci | ||
| cstptr.cocci | ||
| doubleinit.cocci | ||
| ifaddr.cocci | ||
| ifcol.cocci | ||
| irqf_oneshot.cocci | ||
| noderef.cocci | ||
| of_table.cocci | ||
| orplus.cocci | ||
| returnvar.cocci | ||
| semicolon.cocci | ||
| warn.cocci | ||