From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755346Ab0EQNlz (ORCPT ); Mon, 17 May 2010 09:41:55 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:40828 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751837Ab0EQNly (ORCPT ); Mon, 17 May 2010 09:41:54 -0400 From: Andrey Vagin To: Thomas Gleixner , Andrew Morton Cc: linux-kernel@vger.kernel.org, stable@kernel.org, Oleg Nesterov , Pavel Emelyanov , Stanislaw Gruszka , Andrey Vagin Subject: [PATCH 1/3] posix_timer: remove wrong comment Date: Mon, 17 May 2010 17:41:42 +0400 Message-Id: <1274103704-11230-1-git-send-email-avagin@openvz.org> X-Mailer: git-send-email 1.6.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org currently "The next step is hard to back out if there is an error." comment is not right, release_posix_timer() does put_pid(). Signed-off-by: Andrey Vagin --- kernel/posix-timers.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index 00d1fda..5555e7c 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c @@ -563,10 +563,6 @@ SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, if (error) goto out; - /* - * return the timer_id now. The next step is hard to - * back out if there is an error. - */ if (copy_to_user(created_timer_id, &new_timer_id, sizeof (new_timer_id))) { error = -EFAULT; -- 1.6.6