Subject: [merged] idr-reduce-the-unneeded-check-in-free_layer.patch removed from -mm tree To: laijs@xxxxxxxxxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 09 Jun 2014 12:35:22 -0700 The patch titled Subject: idr: reduce the unneeded check in free_layer() has been removed from the -mm tree. Its filename was idr-reduce-the-unneeded-check-in-free_layer.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> Subject: idr: reduce the unneeded check in free_layer() If "idr->hint == p" is true, it also implies "idr->hint" is true(not NULL). Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> Acked-by: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/idr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/idr.c~idr-reduce-the-unneeded-check-in-free_layer lib/idr.c --- a/lib/idr.c~idr-reduce-the-unneeded-check-in-free_layer +++ a/lib/idr.c @@ -145,7 +145,7 @@ static void idr_layer_rcu_free(struct rc static inline void free_layer(struct idr *idr, struct idr_layer *p) { - if (idr->hint && idr->hint == p) + if (idr->hint == p) RCU_INIT_POINTER(idr->hint, NULL); call_rcu(&p->rcu_head, idr_layer_rcu_free); } _ Patches currently in -mm which might be from laijs@xxxxxxxxxxxxxx are origin.patch linux-next.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