From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Sun, 17 Jul 2016 19:54:32 +0200 Further update suggestions were taken into account after a patch was applied from static source code analysis. Markus Elfring (9): Delete unnecessary checks before the function call "kfree" Delete unnecessary assignments for buffer variables Return directly after a failed kmalloc() Rename jump labels Delete unnecessary uses of the variable "retval" Delete unnecessary braces Replace three printk() calls by pr_err() Delete a variable in write_to_device() Delete three unnecessary variable initialisations drivers/staging/ks7010/ks7010_sdio.c | 263 ++++++++++++++--------------------- 1 file changed, 107 insertions(+), 156 deletions(-) -- 2.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel