Commit 42450175 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown

ASoC: fsl_xcvr: Remove unused of_id variable

The of_id variable is not used, so just remove it.
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210118123815.1630882-3-festevam@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d7388718
......@@ -1130,16 +1130,11 @@ MODULE_DEVICE_TABLE(of, fsl_xcvr_dt_ids);
static int fsl_xcvr_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
const struct of_device_id *of_id;
struct fsl_xcvr *xcvr;
struct resource *ram_res, *regs_res, *rx_res, *tx_res;
void __iomem *regs;
int ret, irq;
of_id = of_match_device(fsl_xcvr_dt_ids, dev);
if (!of_id)
return -EINVAL;
xcvr = devm_kzalloc(dev, sizeof(*xcvr), GFP_KERNEL);
if (!xcvr)
return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment