]> 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>
Mon, 11 Mar 2013 07:33:26 +0000 (09:33 +0200)
commit66553199359f2c0de0ca043e11f056f37a82dc2a
tree30af45426bc3103e3b5e4d03fa3e366f5e75ada7
parentea37aef2228417f73756dfb1bf331def395b2502
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