The patch titled gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups has been removed from the -mm tree. Its filename was gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups.patch This patch was dropped because it was folded into gpio-pca953x-get-platform_data-from-openfirmware.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> kfree(NULL) is legal Cc: Nate Case <ncase@xxxxxxxxxxx> Cc: David Brownell <david-b@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/gpio/pca953x.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff -puN drivers/gpio/pca953x.c~gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups drivers/gpio/pca953x.c --- a/drivers/gpio/pca953x.c~gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups +++ a/drivers/gpio/pca953x.c @@ -316,8 +316,7 @@ static int __devinit pca953x_probe(struc return 0; out_failed: - if (chip->dyn_pdata != NULL) - kfree(chip->dyn_pdata); + kfree(chip->dyn_pdata); kfree(chip); return ret; } @@ -345,9 +344,7 @@ static int pca953x_remove(struct i2c_cli return ret; } - if (chip->dyn_pdata != NULL) - kfree(chip->dyn_pdata); - + kfree(chip->dyn_pdata); kfree(chip); return 0; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch documentation-vm-makefile-dont-try-to-build-slqbinfo.patch maintainers-fbdev-is-orphaned.patch gpio-pca953x-get-platform_data-from-openfirmware.patch gpio-pca953x-get-platform_data-from-openfirmware-checkpatch-fixes-gpio-pca953x-get-platform_data-from-openfirmware-cleanups.patch documentation-changes-perl-is-needed-to-build-the-kernel-fix.patch cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix.patch drivers-char-memc-memory_open-cleanup-lookup-minor-device-number-from-devlist-checkpatch-fixes.patch edac-add-cpc925-memory-controller-driver-cleanup.patch edac-add-edac_device_alloc_index-cleanup.patch edac-kconfig-fix-the-meaning-of-edac-abbreviation-fix.patch kexec-sysrq-simplify-sysrq-c-handler.patch gru-support-for-asynchronous-gru-instructions-fix.patch lib-add-lib-gcdc-fix.patch lib-add-lib-gcdc-fix-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html