From patchwork Wed Feb 26 11:01:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 3723541 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B23369F2F7 for ; Wed, 26 Feb 2014 11:08:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3F872014A for ; Wed, 26 Feb 2014 11:08:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1248520148 for ; Wed, 26 Feb 2014 11:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751368AbaBZLGP (ORCPT ); Wed, 26 Feb 2014 06:06:15 -0500 Received: from moutng.kundenserver.de ([212.227.126.130]:52065 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838AbaBZLCp (ORCPT ); Wed, 26 Feb 2014 06:02:45 -0500 Received: from wuerfel.lan (HSI-KBW-5-56-226-176.hsi17.kabel-badenwuerttemberg.de [5.56.226.176]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0Ly8x7-1XL5Jl0lgD-015dur; Wed, 26 Feb 2014 12:02:40 +0100 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Hans Verkuil , Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH 06/16] [media] usbvision: drop unused define USBVISION_SAY_AND_WAIT Date: Wed, 26 Feb 2014 12:01:46 +0100 Message-Id: <1393412516-3762435-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393412516-3762435-1-git-send-email-arnd@arndb.de> References: <1393412516-3762435-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:h9jiqEW4a8yVa/cgMt+kguMoEkjsWBNuyCrgHoiZben 6YelzEABV0j0GmZg3l3a/Brw4YT/I8fK4kMYpcQ7X8g0QPbmaW qhR/GN1BKWzi3SvKoY300YnMFrClyQkxeyEWjiwg5mbo2QG6ro veLXhBJ7dDZb3v83mx97pINcQ/mjo9mkY17KQIUMthcpLrS1aL eKiN1Fg0JMT/l32y79Le6uyG61SRuVRJRWOY6CMua22/WyoS/a oMIan5DnpZuJW7TcBdiLXnRvVDyF30/U9q4JgOO6w2RHo0uRJ6 rSSXMsV9qZUzKTnoisgb3cXne9IRJplHXm9hkZbtbaVCBntX3M bzk8U1QQ/AnPJPBV7EbPJQcv1Sr6s5FTGWHGCVQQS Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 This define uses the deprecated interruptible_sleep_on_timeout function. Since this define is unused anyway we just remove it. Signed-off-by: Hans Verkuil Signed-off-by: Arnd Bergmann Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org --- drivers/media/usb/usbvision/usbvision.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/media/usb/usbvision/usbvision.h b/drivers/media/usb/usbvision/usbvision.h index 8a25876..a0c73cf 100644 --- a/drivers/media/usb/usbvision/usbvision.h +++ b/drivers/media/usb/usbvision/usbvision.h @@ -203,14 +203,6 @@ enum { mr = LIMIT_RGB(mm_r); \ } -/* Debugging aid */ -#define USBVISION_SAY_AND_WAIT(what) { \ - wait_queue_head_t wq; \ - init_waitqueue_head(&wq); \ - printk(KERN_INFO "Say: %s\n", what); \ - interruptible_sleep_on_timeout(&wq, HZ * 3); \ -} - /* * This macro checks if usbvision is still operational. The 'usbvision' * pointer must be valid, usbvision->dev must be valid, we are not