]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:54:27 +0000 (12:54 +0100)
commit1b48bf05f7967a583412d73ccd8ac929436c438a
treea000b8c906536610779deff4ad0a28f9cc2da55a
parent7509941e88e814937b0c00e918f2059585d1b600
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/ck804xrom.c