From: Markus Elfring Date: Thu, 20 Nov 2014 12:50:43 +0000 (+0100) Subject: mtd: delete unnecessary checks before two function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a221bb1f49e6eebc9a3858cb45506f403b3ab6;p=pandora-kernel.git mtd: delete unnecessary checks before two function calls The functions kfree() and pci_dev_put() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Brian Norris --- Reading git-diff-tree failed