diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-09-23 10:19:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-23 23:50:52 -0300 |
commit | 600836cc7b049f3eb47e9b39f379aa4b0926188a (patch) | |
tree | 4a2cc0bc2d2c8a408386c762a3e681a1f554e499 /drivers/media/dvb/ttpci/ttpci-eeprom.c | |
parent | ee7dd4e06e843ffb873418ee9bf449b18f1552f6 (diff) | |
download | linux-3.10-600836cc7b049f3eb47e9b39f379aa4b0926188a.tar.gz linux-3.10-600836cc7b049f3eb47e9b39f379aa4b0926188a.tar.bz2 linux-3.10-600836cc7b049f3eb47e9b39f379aa4b0926188a.zip |
[media] media, rc: Use static inline functions to kill warnings
This patch converts some ifdef'd wrapper functions from macros to static inline
functions to kill the following warnings issued by GCC:
CC [M] drivers/media/rc/ir-raw.o
drivers/media/rc/ir-raw.c: In function ‘init_decoders’:
drivers/media/rc/ir-raw.c:353:2: warning: statement with no effect [-Wunused-value]
drivers/media/rc/ir-raw.c:354:2: warning: statement with no effect [-Wunused-value]
drivers/media/rc/ir-raw.c:355:2: warning: statement with no effect [-Wunused-value]
drivers/media/rc/ir-raw.c:356:2: warning: statement with no effect [-Wunused-value]
drivers/media/rc/ir-raw.c:357:2: warning: statement with no effect [-Wunused-value]
drivers/media/rc/ir-raw.c:359:2: warning: statement with no effect [-Wunused-value]
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: "David Härdeman" <david@hardeman.nu>
Cc: Jarod Wilson <jarod@redhat.com>
Cc: <linux-media@vger.kernel.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci/ttpci-eeprom.c')
0 files changed, 0 insertions, 0 deletions