]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: maps: Remove redundant NULL check before kfree
authorSyam Sidhardhan <syamsidhardh@gmail.com>
Tue, 26 Feb 2013 19:46:56 +0000 (01:16 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 19 Mar 2013 08:22:29 +0000 (10:22 +0200)
commitc795d1550929d2bdcebe947e08e7597ff42e193c
tree0ee641dbafdd717ec3903cd5831c0de27f27cbb1
parentbdcf66b24472fb9402c25e7dfd7ef7df4a98a956
mtd: maps: Remove redundant NULL check before kfree

kfree on NULL pointer is a no-op.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/maps/ck804xrom.c