Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf8b8511 authored by Yousong Zhou's avatar Yousong Zhou Committed by Ulf Hansson
Browse files

mmc: sd: Remove superfluous error code assignment

parent 8d1ffc8c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -357,8 +357,6 @@ int mmc_sd_switch_hs(struct mmc_card *card)
	if (card->sw_caps.hs_max_dtr == 0)
		return 0;

	err = -EIO;

	status = kmalloc(64, GFP_KERNEL);
	if (!status) {
		pr_err("%s: could not allocate a buffer for "