Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbaBZLGS (ORCPT ); Wed, 26 Feb 2014 06:06:18 -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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/