projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
465a9e3
)
[media] streamzap: Fix a compilation warning when compiled builtin
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 27 Dec 2010 16:00:04 +0000
(13:00 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:14 +0000
(08:17 -0200)
drivers/media/rc/streamzap.c: In function ‘streamzap_probe’:
drivers/media/rc/streamzap.c:460:2: warning: statement with no effect
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/streamzap.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/streamzap.c
b/drivers/media/rc/streamzap.c
index 7f82f55159da903bf35036d45d1bb235143234e3..6e2911c2abfbec8e4c9909c33651eea10935143b 100644
(file)
--- a/
drivers/media/rc/streamzap.c
+++ b/
drivers/media/rc/streamzap.c
@@
-73,7
+73,7
@@
MODULE_DEVICE_TABLE(usb, streamzap_table);
#ifdef CONFIG_IR_RC5_SZ_DECODER_MODULE
#define load_rc5_sz_decode() request_module("ir-rc5-sz-decoder")
#else
-#define load_rc5_sz_decode()
0
+#define load_rc5_sz_decode()
{}
#endif
enum StreamzapDecoderState {