All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Neuling <mikey@neuling.org>
To: Frederic Barrat <fbarrat@linux.vnet.ibm.com>,
	ian@ozlabs.au.ibm.com, mpe@ellerman.id.au,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] cxl: Remove dead code
Date: Thu, 10 Mar 2016 10:59:49 +1100	[thread overview]
Message-ID: <1457567989.17010.9.camel@neuling.org> (raw)
In-Reply-To: <1457524393-6717-1-git-send-email-fbarrat@linux.vnet.ibm.com>

On Wed, 2016-03-09 at 12:53 +0100, Frederic Barrat wrote:
> Function cxl_get_phys_dev() was removed from the kernel API by a
> previous patch, but it's actually dead code. Remove it.
>=20
> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

Acked-by: Michael Neuling <mikey@neuling.org>

> ---
>  drivers/misc/cxl/api.c | 9 ---------
>  1 file changed, 9 deletions(-)
>=20
> diff --git a/drivers/misc/cxl/api.c b/drivers/misc/cxl/api.c
> index 2107c94..8075823 100644
> --- a/drivers/misc/cxl/api.c
> +++ b/drivers/misc/cxl/api.c
> @@ -68,15 +68,6 @@ struct cxl_context *cxl_get_context(struct pci_dev
> *dev)
>  }
>  EXPORT_SYMBOL_GPL(cxl_get_context);
> =20
> -struct device *cxl_get_phys_dev(struct pci_dev *dev)
> -{
> -	struct cxl_afu *afu;
> -
> -	afu =3D cxl_pci_to_afu(dev);
> -
> -	return afu->adapter->dev.parent;
> -}
> -
>  int cxl_release_context(struct cxl_context *ctx)
>  {
>  	if (ctx->status >=3D STARTED)

  parent reply	other threads:[~2016-03-09 23:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 11:53 [PATCH] cxl: Remove dead code Frederic Barrat
2016-03-09 23:22 ` Ian Munsie
2016-03-09 23:35 ` Andrew Donnellan
2016-03-09 23:59 ` Michael Neuling [this message]
2016-04-11 12:35 ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457567989.17010.9.camel@neuling.org \
    --to=mikey@neuling.org \
    --cc=fbarrat@linux.vnet.ibm.com \
    --cc=ian@ozlabs.au.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.