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)
commit8be84e035c3f585f22f87034b41324681cf5c3ad
treea000b8c906536610779deff4ad0a28f9cc2da55a
parent8913405593c358c050cfb485652f9e40288e38df
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