summaryrefslogtreecommitdiff
path: root/drivers/media/usb/tlg2300/pd-common.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-01-31 06:39:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 11:49:01 -0300
commitca1178ed6a6304185d77dd16462de0590d9a7b28 (patch)
treee2b79ce7bc6b2ee5bcd3cc1514c4548349411451 /drivers/media/usb/tlg2300/pd-common.h
parent60c66b6f276ec2a1f76788f0833ad2bf366522b6 (diff)
downloadlwn-ca1178ed6a6304185d77dd16462de0590d9a7b28.tar.gz
lwn-ca1178ed6a6304185d77dd16462de0590d9a7b28.zip
[media] tlg2300: Remove logs() macro
ioctl debugging can now be done through the debug parameter in sysfs. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/tlg2300/pd-common.h')
-rw-r--r--drivers/media/usb/tlg2300/pd-common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/usb/tlg2300/pd-common.h b/drivers/media/usb/tlg2300/pd-common.h
index 3010496787ab..9e23ad32d2fe 100644
--- a/drivers/media/usb/tlg2300/pd-common.h
+++ b/drivers/media/usb/tlg2300/pd-common.h
@@ -268,13 +268,4 @@ void set_debug_mode(struct video_device *vfd, int debug_mode);
log();\
} while (0)
-#define logs(f) do { \
- if ((debug_mode & 0x4) && \
- (f)->type == V4L2_BUF_TYPE_VBI_CAPTURE) \
- log("type : VBI");\
- \
- if ((debug_mode & 0x8) && \
- (f)->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) \
- log("type : VIDEO");\
- } while (0)
#endif