mmc: core: Use MMC_UNSAFE_RESUME as default behavior
[firefly-linux-kernel-4.4.55.git] / include / linux / mmc / host.h
index 99f5709ac343df3d6c5b7bbda636eeeb42c4e14c..2a139b2bdb9e93e54d8f68a906a1701a7197dd0b 100644 (file)
@@ -424,12 +424,9 @@ static inline int mmc_regulator_get_supply(struct mmc_host *mmc)
 
 int mmc_pm_notify(struct notifier_block *notify_block, unsigned long, void *);
 
-/* Module parameter */
-extern bool mmc_assume_removable;
-
 static inline int mmc_card_is_removable(struct mmc_host *host)
 {
-       return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable;
+       return !(host->caps & MMC_CAP_NONREMOVABLE);
 }
 
 static inline int mmc_card_keep_power(struct mmc_host *host)