From: Ulf Hansson Date: Mon, 6 Oct 2014 12:39:03 +0000 (+0200) Subject: mmc: core: Remove unused mmc_list_to_card() macro X-Git-Tag: MMI-PSA29.97-13-9~11089^2~101 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=390e316c606de2f839389698f4531004cfe1bafd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mmc: core: Remove unused mmc_list_to_card() macro Signed-off-by: Ulf Hansson --- diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 64f413676410..0ba8f251f8ef 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -509,8 +509,6 @@ static inline int mmc_card_broken_irq_polling(const struct mmc_card *c) #define mmc_dev_to_card(d) container_of(d, struct mmc_card, dev) -#define mmc_list_to_card(l) container_of(l, struct mmc_card, node) - extern int mmc_register_driver(struct device_driver *); extern void mmc_unregister_driver(struct device_driver *);