]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: media: zoran: Remove print statement
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Tue, 2 Apr 2019 20:13:02 +0000 (01:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 09:08:00 +0000 (11:08 +0200)
commit1fbd0bcc363ab34d9bd1b78c84a2d47d6121f0f1
treec9ecddfbf5e6655eb14d001f91ac7f85a6ef410c
parentd45c6c9bbfb3e543e5b0e6bc5af4ec9f51dbac23
staging: media: zoran: Remove print statement

Remove print statement following unsuccessful kmalloc. Issue found with
the following Coccinelle script:
@@
identifier e1, print;
char [] c;
@@
e1 = kmalloc(...);
if(!e1){
-print(...,c,...);
... when any
}

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/zoran/zoran_card.c