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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131008063901.GA32409@jtlinux>
Date:	Tue, 8 Oct 2013 08:39:02 +0200
From:	Johannes Thumshirn <johannes.thumshirn@....de>
To:	Thierry Reding <thierry.reding@...il.com>
CC:	Doug Thompson <dougthompson@...ssion.com>,
	Borislav Petkov <bp@...e.de>, Baruch Siach <baruch@...s.co.il>,
	<linux-edac@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mpc85xx_edac: Remove unused function

On Mon, Oct 07, 2013 at 05:13:55PM +0200, Thierry Reding wrote:
> Commit 905e75c (powerpc/fsl-pci: Unify pci/pcie initialization code)
> removed the struct platform_driver that held the last reference to the
> mpc85xx_pci_err_remove() function. Remove the function since it is
> effectively dead code.
>
> Signed-off-by: Thierry Reding <treding@...dia.com>
> ---
>  drivers/edac/mpc85xx_edac.c | 23 -----------------------
>  1 file changed, 23 deletions(-)
>
> diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
> index 3eb32f6..b1e7106 100644
> --- a/drivers/edac/mpc85xx_edac.c
> +++ b/drivers/edac/mpc85xx_edac.c
> @@ -326,29 +326,6 @@ err:
>  	return res;
>  }
>  EXPORT_SYMBOL(mpc85xx_pci_err_probe);
> -
> -static int mpc85xx_pci_err_remove(struct platform_device *op)
> -{
> -	struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev);
> -	struct mpc85xx_pci_pdata *pdata = pci->pvt_info;
> -
> -	edac_dbg(0, "\n");
> -
> -	out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_CAP_DR,
> -		 orig_pci_err_cap_dr);
> -
> -	out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_EN, orig_pci_err_en);
> -
> -	edac_pci_del_device(pci->dev);
> -
> -	if (edac_op_state == EDAC_OPSTATE_INT)
> -		irq_dispose_mapping(pdata->irq);
> -
> -	edac_pci_free_ctl_info(pci);
> -
> -	return 0;
> -}
> -
>  #endif				/* CONFIG_PCI */
>
>  /**************************** L2 Err device ***************************/
> --
> 1.8.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-edac" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hi Thierry,

Sorry, but I already have this patch in
http://lkml.indiana.edu/hypermail/linux/kernel/1309.2/03410.html

But anyways, thanks
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ