From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Further update suggestions were taken into account after a patch was applied from static source code analysis. Markus Elfring (10): 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 Add the macro "pr_fmt" 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 | 184 ++++++++++++++--------------------- 1 file changed, 73 insertions(+), 111 deletions(-) -- 2.9.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel