All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for John Garry <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: tglx@linutronix.de, julien.thierry@arm.com, marc.zyngier@arm.com,
	john.garry@huawei.com, mingo@kernel.org, hpa@zytor.com,
	andrew@lunn.ch, trivial@kernel.org, linux-kernel@vger.kernel.org,
	kstewart@linuxfoundation.org, will.deacon@arm.com
Subject: [tip:irq/urgent] irqdesc: Delete irq_desc_get_msi_desc()
Date: Fri, 22 Jun 2018 05:28:35 -0700	[thread overview]
Message-ID: <tip-bed9df97b39e73a4607189f2c4b9fb89cc3f7f59@git.kernel.org> (raw)
In-Reply-To: <1529667333-92959-1-git-send-email-john.garry@huawei.com>

Commit-ID:  bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Gitweb:     https://git.kernel.org/tip/bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Author:     John Garry <john.garry@huawei.com>
AuthorDate: Fri, 22 Jun 2018 19:35:33 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 22 Jun 2018 14:22:02 +0200

irqdesc: Delete irq_desc_get_msi_desc()

Function irq_desc_get_msi_desc() is not referenced in the kernel (and does
not seem to have been referenced since e39758e0ea76, 3 years ago), so
delete it.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <marc.zyngier@arm.com>
Cc: <will.deacon@arm.com>
Cc: <kstewart@linuxfoundation.org>
Cc: <julien.thierry@arm.com>
Cc: <andrew@lunn.ch>
Cc: <trivial@kernel.org>
Link: https://lkml.kernel.org/r/1529667333-92959-1-git-send-email-john.garry@huawei.com


---
 include/linux/irqdesc.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
index 25b33b664537..dd1e40ddac7d 100644
--- a/include/linux/irqdesc.h
+++ b/include/linux/irqdesc.h
@@ -145,11 +145,6 @@ static inline void *irq_desc_get_handler_data(struct irq_desc *desc)
 	return desc->irq_common_data.handler_data;
 }
 
-static inline struct msi_desc *irq_desc_get_msi_desc(struct irq_desc *desc)
-{
-	return desc->irq_common_data.msi_desc;
-}
-
 /*
  * Architectures call this to let the generic IRQ layer
  * handle an interrupt.

      reply	other threads:[~2018-06-22 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 11:35 [PATCH] irqdesc: Delete irq_desc_get_msi_desc() John Garry
2018-06-22 12:28 ` tip-bot for John Garry [this message]

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=tip-bed9df97b39e73a4607189f2c4b9fb89cc3f7f59@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=andrew@lunn.ch \
    --cc=hpa@zytor.com \
    --cc=john.garry@huawei.com \
    --cc=julien.thierry@arm.com \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=trivial@kernel.org \
    --cc=will.deacon@arm.com \
    /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.