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

Commit 20753569 authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson
Browse files

mmc: dw_mmc: minor cleanup for dw_mci_adjust_fifoth



msize and rx_wmark are properly initialized, we dont't
need to assign them again.

Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent cc190d4c
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -939,11 +939,8 @@ static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data)
	 * MSIZE is '1',
	 * MSIZE is '1',
	 * if blksz is not a multiple of the FIFO width
	 * if blksz is not a multiple of the FIFO width
	 */
	 */
	if (blksz % fifo_width) {
	if (blksz % fifo_width)
		msize = 0;
		rx_wmark = 1;
		goto done;
		goto done;
	}


	do {
	do {
		if (!((blksz_depth % mszs[idx]) ||
		if (!((blksz_depth % mszs[idx]) ||