The patch titled Subject: mm/zswap.c: remove unneeded initialization to NULL in zswap_entry_find_get() has been added to the -mm tree. Its filename is mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Klimov <alexey.klimov@xxxxxxxxxx> Subject: mm/zswap.c: remove unneeded initialization to NULL in zswap_entry_find_get() On the next line entry variable will be re-initialized so no need to init it with NULL. Signed-off-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx> Cc: Seth Jennings <sjennings@xxxxxxxxxxxxxx> Cc: Dan Streetman <ddstreet@xxxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/zswap.c~mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get mm/zswap.c --- a/mm/zswap.c~mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get +++ a/mm/zswap.c @@ -342,7 +342,7 @@ static void zswap_entry_put(struct zswap static struct zswap_entry *zswap_entry_find_get(struct rb_root *root, pgoff_t offset) { - struct zswap_entry *entry = NULL; + struct zswap_entry *entry; entry = zswap_rb_search(root, offset); if (entry) _ Patches currently in -mm which might be from alexey.klimov@xxxxxxxxxx are mm-kmemleak-remove-unneeded-initialization-of-object-to-null.patch mm-zswap-remove-unneeded-initialization-to-null-in-zswap_entry_find_get.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