From patchwork Fri Jun 13 04:47:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4346821 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6D209BEEAA for ; Fri, 13 Jun 2014 04:50:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4CD320263 for ; Fri, 13 Jun 2014 04:50:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0D8D20265 for ; Fri, 13 Jun 2014 04:50:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751439AbaFMEuk (ORCPT ); Fri, 13 Jun 2014 00:50:40 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:61171 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbaFMEuk (ORCPT ); Fri, 13 Jun 2014 00:50:40 -0400 Received: by mail-pb0-f41.google.com with SMTP id ma3so1777352pbc.28 for ; Thu, 12 Jun 2014 21:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=NvOjOAQ39vBiO95VbHECEfG4lx9jHCA8Az/ymtjrqPw=; b=Xopy/JtkL8GoLJamGu5Ve7g/95gNiUFHBsMgD5MZm8Malilyihz6pYy7fyMUVCn58M 7aVE4ApffYH5TwJVFQPWqXnjf7a/8aFoc+TUnQUibTE74l6fz+G2X9r+dtbhP0gXvJkp /gQ6h1a0GdB3FsR5kIe54ZHMiXcebkuaRRQukFWqqmxf+I5NFEY/l5f90Y1yXV03JPII 7MqT9RlCUvuWYoB5iGT6JZ62ZF0adDE6cY5rxOR9kcTCY/1c1UP+6ksTRJqsCg/ykU6b 5ArSBitO0bQz/YKlG2j2Hq26UL6zs1JJLcuT9f06jawGw9pOtQ1/+6xMcV9lNK/A7RA7 940A== X-Received: by 10.66.122.135 with SMTP id ls7mr449078pab.84.1402635039644; Thu, 12 Jun 2014 21:50:39 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id vf9sm1061378pbc.94.2014.06.12.21.50.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Jun 2014 21:50:38 -0700 (PDT) From: Sachin Kamat To: linux-spi@vger.kernel.org Cc: broonie@kernel.org, spk.linux@gmail.com Subject: [PATCH 2/2] spi: Remove redundant OOM message in spi.c Date: Fri, 13 Jun 2014 10:17:42 +0530 Message-Id: <1402634862-21783-2-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1402634862-21783-1-git-send-email-sachin.kamat@samsung.com> References: <1402634862-21783-1-git-send-email-sachin.kamat@samsung.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Let memory subsystem handle the error logging. Signed-off-by: Sachin Kamat Reviewed-by: Naveen Krishna Chatradhi --- drivers/spi/spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index d4f9670b51bc..8bbbba5b6236 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -352,7 +352,6 @@ struct spi_device *spi_alloc_device(struct spi_master *master) spi = kzalloc(sizeof(*spi), GFP_KERNEL); if (!spi) { - dev_err(dev, "cannot alloc spi_device\n"); spi_master_put(master); return NULL; }