Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | coccinelle: returnvar: Use imperative mood | Fabio Estevam | 2015-05-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | According to Documentation/SubmittingPatches: "Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy to do frotz", as if you are giving orders to the codebase to change its behaviour." So do as recommended. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz> | ||||
* | coccicheck: Add unneeded return variable test | Peter Senna Tschudin | 2014-06-10 | 1 | -0/+66 |
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> |