lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1677039534-50549-1-git-send-email-lizhi.hou@amd.com>
Date:   Tue, 21 Feb 2023 20:18:54 -0800
From:   Lizhi Hou <lizhi.hou@....com>
To:     <vkoul@...nel.org>, <geert@...ux-m68k.org>
CC:     Lizhi Hou <lizhi.hou@....com>, <dmaengine@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <max.zhen@....com>,
        <sonal.santan@....com>
Subject: [PATCH -next 1/1] dmaengine: xilinx: xdma: Remove id table

The xdma_id_table is not needed, as the single entry "xdma" matches
driver name.
Signed-off-by: Lizhi Hou <lizhi.hou@....com>
---
 drivers/dma/xilinx/xdma.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c
index 462109c61653..74e587adce13 100644
--- a/drivers/dma/xilinx/xdma.c
+++ b/drivers/dma/xilinx/xdma.c
@@ -953,16 +953,10 @@ static int xdma_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static const struct platform_device_id xdma_id_table[] = {
-	{ "xdma", 0},
-	{ },
-};
-
 static struct platform_driver xdma_driver = {
 	.driver		= {
 		.name = "xdma",
 	},
-	.id_table	= xdma_id_table,
 	.probe		= xdma_probe,
 	.remove		= xdma_remove,
 };
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ