Message ID | efc677c8-35c6-dd97-2091-8daa91576602@users.sourceforge.net |
---|---|
State | Rejected |
Headers | show |
Series | mtd/maps/vmu-flash: Delete an error message for a failed memory allocation in maple_vmu_read_block() | expand |
diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c index 6b223cfe92b7..a76a5ff402e1 100644 --- a/drivers/mtd/maps/vmu-flash.c +++ b/drivers/mtd/maps/vmu-flash.c @@ -130,9 +130,6 @@ static int maple_vmu_read_block(unsigned int num, unsigned char *buf, if (!pcache->buffer) { pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); if (!pcache->buffer) { - dev_err(&mdev->dev, "VMU at (%d, %d) - read fails due" - " to lack of memory\n", mdev->port, - mdev->unit); error = -ENOMEM; goto outB; }