mmc: core: Remove unused mmc_list_to_card() macro
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 Oct 2014 12:39:03 +0000 (14:39 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:34 +0000 (12:40 +0100)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
include/linux/mmc/card.h

index 64f4136764108e1a29bcdd8462d3607e81f22dd4..0ba8f251f8ef17aac504ba8a5f648677c1c5985f 100644 (file)
@@ -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 *);