From patchwork Thu Aug 11 21:03:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 9275953 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 472B0600CB for ; Thu, 11 Aug 2016 21:11:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37FBC2879E for ; Thu, 11 Aug 2016 21:11:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D061287A2; Thu, 11 Aug 2016 21:11:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC0832879E for ; Thu, 11 Aug 2016 21:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932424AbcHKVLQ (ORCPT ); Thu, 11 Aug 2016 17:11:16 -0400 Received: from www.zeus03.de ([194.117.254.33]:56187 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752299AbcHKVLO (ORCPT ); Thu, 11 Aug 2016 17:11:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references; s=k1; bh=odiJO5AOft6XKjiAawRlY/WDYRczeHwpsVEuwS+x7No=; b=R2Jts8NjgxZN EPfFH+W/F5W3MNxgVAkfVJxb9EnTBmgDiRNcoC2CW6ibA2lAF242LXAPJGNdIEVe 7rvuPGGCx8V8+UArlLvZu+d7x5HGZyikOPe6oYz6vJTyLoqGyqaRolA5nDZ/tAjT rg2LGLdHHxMgMDYGOlNINgkd9+r8zUI= Received: (qmail 3263 invoked from network); 11 Aug 2016 23:04:33 +0200 Received: from dslb-178-008-085-090.178.008.pools.vodafone-ip.de (HELO localhost) (l3s3148p1@178.8.85.90) by mail.zeus03.de with ESMTPSA (ECDHE-RSA-AES256-GCM-SHA384 encrypted, authenticated); 11 Aug 2016 23:04:33 +0200 From: Wolfram Sang To: linux-usb@vger.kernel.org Cc: Wolfram Sang , Hans Verkuil , Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH 02/28] media: radio: si470x: radio-si470x-usb: don't print error when allocating urb fails Date: Thu, 11 Aug 2016 23:03:38 +0200 Message-Id: <1470949451-24823-3-git-send-email-wsa-dev@sang-engineering.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1470949451-24823-1-git-send-email-wsa-dev@sang-engineering.com> References: <1470949451-24823-1-git-send-email-wsa-dev@sang-engineering.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP kmalloc will print enough information in case of failure. Signed-off-by: Wolfram Sang --- drivers/media/radio/si470x/radio-si470x-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/radio/si470x/radio-si470x-usb.c b/drivers/media/radio/si470x/radio-si470x-usb.c index 091d793f658361..4b132c29f2900c 100644 --- a/drivers/media/radio/si470x/radio-si470x-usb.c +++ b/drivers/media/radio/si470x/radio-si470x-usb.c @@ -627,7 +627,6 @@ static int si470x_usb_driver_probe(struct usb_interface *intf, radio->int_in_urb = usb_alloc_urb(0, GFP_KERNEL); if (!radio->int_in_urb) { - dev_info(&intf->dev, "could not allocate int_in_urb"); retval = -ENOMEM; goto err_intbuffer; }