Commit abc71668 authored by Pierre Ossman's avatar Pierre Ossman

mmc: wbsd: Remove stray kunmap_atomic()

There was one kunmap_atomic() left over from
4a0ddbd2 that was causing
crashes.
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent acf1da45
...@@ -343,7 +343,6 @@ static inline void wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data) ...@@ -343,7 +343,6 @@ static inline void wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data)
memcpy(sgbuf, dmabuf, size); memcpy(sgbuf, dmabuf, size);
else else
memcpy(sgbuf, dmabuf, sg[i].length); memcpy(sgbuf, dmabuf, sg[i].length);
kunmap_atomic(sgbuf, KM_BIO_SRC_IRQ);
dmabuf += sg[i].length; dmabuf += sg[i].length;
if (size < sg[i].length) if (size < sg[i].length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment