From patchwork Wed Jul 6 09:38:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hogan X-Patchwork-Id: 949112 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p669cTgd015529 for ; Wed, 6 Jul 2011 09:38:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829Ab1GFJi2 (ORCPT ); Wed, 6 Jul 2011 05:38:28 -0400 Received: from multi.imgtec.com ([194.200.65.239]:65291 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955Ab1GFJi1 (ORCPT ); Wed, 6 Jul 2011 05:38:27 -0400 Message-ID: <4E142D10.6080206@imgtec.com> Date: Wed, 06 Jul 2011 10:38:24 +0100 From: James Hogan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: James Hogan CC: Chris Ball , Will , Jaehoon Chung , Kyungmin Park , linux-mmc , linux-kernel Subject: [PATCH 2/4] mmc: dw_mmc: remove unnecessary error messages References: <4E142C10.3050508@imgtec.com> In-Reply-To: <4E142C10.3050508@imgtec.com> X-OriginalArrivalTime: 06 Jul 2011 09:38:24.0519 (UTC) FILETIME=[738B9970:01CC3BC0] X-SEF-Processed: 7_3_0_01158__2011_07_06_10_38_25 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 06 Jul 2011 09:38:29 +0000 (UTC) Remove error messages for timeout and CRC failure, since the error code already indicates the problem. Signed-off-by: James Hogan Acked-by: Will Newton Tested-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index fcff3c0..bf2157a 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -908,12 +908,8 @@ static void dw_mci_tasklet_func(unsigned long priv) if (status & DW_MCI_DATA_ERROR_FLAGS) { if (status & SDMMC_INT_DTO) { - dev_err(&host->pdev->dev, - "data timeout error\n"); data->error = -ETIMEDOUT; } else if (status & SDMMC_INT_DCRC) { - dev_err(&host->pdev->dev, - "data CRC error\n"); data->error = -EILSEQ; } else { dev_err(&host->pdev->dev,