Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222055
| From | Catalin Marinas <catalin.marinas@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL |
| Date | 2015-09-10 11:20 +0200 |
| Message-ID | <q76bo-5y3-13@gated-at.bofh.it> (permalink) |
| References | <q6Wc1-89H-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 10, 2015 at 01:33:49AM +0300, Alexey Klimov wrote: > Few lines below object is reinitialized by lookup_object() > so we don't need to init it by NULL in the beginning of > find_and_get_object(). > > Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL Alexey Klimov <alexey.klimov@linaro.org> - 2015-09-10 00:40 +0200 Re: [PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL Catalin Marinas <catalin.marinas@arm.com> - 2015-09-10 11:20 +0200
csiph-web