From nobody Sun Feb 8 23:44:26 2026 Received: from cmccmta1.chinamobile.com (cmccmta2.chinamobile.com [111.22.67.135]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0397189507 for ; Wed, 31 Jul 2024 06:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.135 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722408200; cv=none; b=LK3cdej1wi0bJob5r02wAIxfZAO7+DB4Seq0JqegzBfU111W/hDZRSI2hOjZAryQi66h8bKW/JlMwYsYv6DJMTgdgVHmu+WH5yx3PU2iSbvf72sibiQDcAGaV8vcfLz9/UVNVMlvgyX5maFjBzGeYFxpIu338TBPgRUIlZQahrc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722408200; c=relaxed/simple; bh=7Li77XwYqtUeV1mfADfw7EVDdNJwUPpriVinOfu5wFc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=psnyJaXaUrMQ+52/RvatLUjIfFHOTvCUE9ngahaLMO/WTQzAO5QbL5PVRqg4c+FfZnX3+HofJuBO8ljK3v31Ao74ImmLb0xAfoTco5KITWG0YezvgDNuP12sq+uzPpjmKmCe3oYYx6X1rZ6m3c0EontlbO8YyfAa+QUjAyAS5jo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee366a9dcfd00d-9d818; Wed, 31 Jul 2024 14:43:12 +0800 (CST) X-RM-TRANSID: 2ee366a9dcfd00d-9d818 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.102]) by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id 2ee966a9dcef34b-10ed8; Wed, 31 Jul 2024 14:43:12 +0800 (CST) X-RM-TRANSID: 2ee966a9dcef34b-10ed8 From: bajing To: ogabbay@kernel.org Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bajing Subject: [PATCH] accel: drm_accel: remove incorrect comments Date: Wed, 31 Jul 2024 14:42:53 +0800 Message-Id: <20240731064253.24523-1-bajing@cmss.chinamobile.com> X-Mailer: git-send-email 2.39.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" accel_minor_replace is of type void, so remove the explanation of the retur= n value in the comments. Signed-off-by: bajing Reviewed-by: Carl Vanderlip Reviewed-by: Jeffrey Hugo --- drivers/accel/drm_accel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/accel/drm_accel.c b/drivers/accel/drm_accel.c index 16c3edb8c46e..09fb64444cc6 100644 --- a/drivers/accel/drm_accel.c +++ b/drivers/accel/drm_accel.c @@ -161,8 +161,6 @@ void accel_minor_remove(int index) * This function access the accel minors idr structure and replaces the po= inter * that is associated with an existing id. Because the minor pointer can be * NULL, we need to explicitly pass the index. - * - * Return: 0 for success, negative value for error */ void accel_minor_replace(struct drm_minor *minor, int index) { --=20 2.39.3