Skip to content

Commit

Permalink
mmc: wbsd: Remove stray kunmap_atomic()
Browse files Browse the repository at this point in the history
There was one kunmap_atomic() left over from
4a0ddbd that was causing
crashes.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Pierre Ossman committed Feb 11, 2007
1 parent acf1da4 commit abc7166
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/wbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ static inline void wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data)
memcpy(sgbuf, dmabuf, size);
else
memcpy(sgbuf, dmabuf, sg[i].length);
kunmap_atomic(sgbuf, KM_BIO_SRC_IRQ);
dmabuf += sg[i].length;

if (size < sg[i].length)
Expand Down

0 comments on commit abc7166

Please sign in to comment.