diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-09-23 15:19:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-24 04:50:52 +0200 |
commit | 600836cc7b049f3eb47e9b39f379aa4b0926188a (patch) | |
tree | 4a2cc0bc2d2c8a408386c762a3e681a1f554e499 /drivers/media/dvb | |
parent | [media] gspca - main: Display the subdriver name and version at probe time (diff) | |
download | linux-600836cc7b049f3eb47e9b39f379aa4b0926188a.tar.xz linux-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')
0 files changed, 0 insertions, 0 deletions