From patchwork Fri Mar 14 08:02:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiong X-Patchwork-Id: 14016402 Received: from mail.nfschina.com (unknown [42.101.60.213]) by smtp.subspace.kernel.org (Postfix) with SMTP id 53CDC8635C; Fri, 14 Mar 2025 08:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=42.101.60.213 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741939391; cv=none; b=J/SOjP7JuMG5eekVG5597zDaARia8VgIS+aZ3EkJbMrYxYzaFGfMSCXH0oe/9vYBoub7UNRVXENPbyUWnf6OQNHUE3y08nacu46YxsEf+Zmo5Adh23UR4YwxfkYOFd6Zx/9gyi1/nwAMcnv5htPC56fg1Gtm1/WdPTeMjXqvLJk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741939391; c=relaxed/simple; bh=F2UoxoW8uLGVziszo09aBcV1hxI0sreut0MB/8QvQSk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version; b=YCRx8PkdxXIEfKuFzqsfqx8XFCS7fsIWHSsIgFuhynToY+zqXM0E7EkYYWSbXKC1s9ci7FQMLiRZZy1vGzSuc4kdmS0LFG+6s4uRzLl2LsPhurK6QRH7OcUSt3FiEhplf2iYRssKSfNmlopGNQh1c3i1xN3v4VlWsmCGE3fgmwg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nfschina.com; spf=pass smtp.mailfrom=nfschina.com; arc=none smtp.client-ip=42.101.60.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nfschina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nfschina.com Received: from liqiong-suma.shanghai.nfschina.local (unknown [180.167.10.98]) by mail.nfschina.com (MailData Gateway V2.8.8) with ESMTPSA id E7625606A5D5D; Fri, 14 Mar 2025 16:03:04 +0800 (CST) X-MD-Sfrom: liqiong@nfschina.com X-MD-SrcIP: 180.167.10.98 From: Li Qiong To: Peter Chen , Pawel Laszczak Cc: Li Qiong , Roger Quadros , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Date: Fri, 14 Mar 2025 16:02:48 +0800 Message-Id: <20250314080249.469307-1-liqiong@nfschina.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20250314070921.355986-1-liqiong@nfschina.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The function don't return value, remove the invalid comment. Signed-off-by: Li Qiong --- drivers/usb/cdns3/cdns3-plat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c index 59ec505e198a..735df88774e4 100644 --- a/drivers/usb/cdns3/cdns3-plat.c +++ b/drivers/usb/cdns3/cdns3-plat.c @@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev) /** * cdns3_plat_remove() - unbind drd driver and clean up * @pdev: Pointer to Linux platform device - * - * Returns 0 on success otherwise negative errno */ static void cdns3_plat_remove(struct platform_device *pdev) { From patchwork Fri Mar 14 08:02:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiong X-Patchwork-Id: 14016403 Received: from mail.nfschina.com (unknown [42.101.60.213]) by smtp.subspace.kernel.org (Postfix) with SMTP id 3A89A1531C4; Fri, 14 Mar 2025 08:03:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=42.101.60.213 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741939391; cv=none; b=iZ/10yg8dricqAks0CLriXhFKoGchGt2ABIbUqNS6dXIYZxaCWvggbO/oj3MTmSNqc0qDq2FW3Qra2zUzCqepmxUm4jSvQMRfFvvdKeK2f8EtJjHRvwqHGNAc8UhoWjJsdrrtyobhAY3SUwO+uqP8vtrwLt01BOOGqlYZZJUJ1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741939391; c=relaxed/simple; bh=VeTroO5Nyk85K7mCtGdJSJF15GYwdgFSLlY7rwuPX+8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version; b=XQATFTj82l5bt/1iFNrOjvliAdaqb2c60LvAiR6j2s9pwvm9O8ZrSOkvjlMWxJ7ttz9WC1EpW30mq0MFLfp63KkLHRUxZwwqgGkQQp1jmhulM/kCz04DuQCaGIGWkrms9C3OzKja1jRV7WmWCfS9s16oTyu5W0Dx+k4/x+RGX8Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nfschina.com; spf=pass smtp.mailfrom=nfschina.com; arc=none smtp.client-ip=42.101.60.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nfschina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nfschina.com Received: from liqiong-suma.shanghai.nfschina.local (unknown [180.167.10.98]) by mail.nfschina.com (MailData Gateway V2.8.8) with ESMTPSA id 81287606B2728; Fri, 14 Mar 2025 16:03:05 +0800 (CST) X-MD-Sfrom: liqiong@nfschina.com X-MD-SrcIP: 180.167.10.98 From: Li Qiong To: Greg Kroah-Hartman , Michal Simek Cc: Li Qiong , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] usb: gadget: udc-xilinx: Remove the invalid comment Date: Fri, 14 Mar 2025 16:02:49 +0800 Message-Id: <20250314080249.469307-2-liqiong@nfschina.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20250314080249.469307-1-liqiong@nfschina.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The function don't return value, remove the invalid comment. Signed-off-by: Li Qiong --- drivers/usb/gadget/udc/udc-xilinx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index ae2aeb271897..fa94cc065274 100644 --- a/drivers/usb/gadget/udc/udc-xilinx.c +++ b/drivers/usb/gadget/udc/udc-xilinx.c @@ -2178,8 +2178,6 @@ static int xudc_probe(struct platform_device *pdev) /** * xudc_remove - Releases the resources allocated during the initialization. * @pdev: pointer to the platform device structure. - * - * Return: 0 always */ static void xudc_remove(struct platform_device *pdev) {