mmc: wbsd: Remove stray kunmap_atomic()
There was one kunmap_atomic() left over from
4a0ddbd25a
that was causing
crashes.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user