summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-08-02 11:37:34 -0400
committerMichael Krufky <mkrufky@kernellabs.com>2009-08-02 11:37:34 -0400
commit920d68bc15da48dcaf2144b777f7dcae138599ca (patch)
treebc671738218786076413e53683e360152b66017b
parent0a6ce90779f4a12f8e75009d19209a4ee48707d8 (diff)
downloadmediapointer-dvb-s2-920d68bc15da48dcaf2144b777f7dcae138599ca.tar.gz
mediapointer-dvb-s2-920d68bc15da48dcaf2144b777f7dcae138599ca.tar.bz2
sms1xxx: fix build warning: unused variable 'board'
From: Michael Krufky <mkrufky@kernellabs.com> Remove the following build warning: sms-cards.c: In function 'sms_board_event': sms-cards.c:120: warning: unused variable 'board' Thanks to Hans Verkuil for pointing this out. The problem code has been #if 0'd for now, this will likely be used again in the future, once the event interface is complete. Priority: high Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Cc: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--linux/drivers/media/dvb/siano/sms-cards.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/sms-cards.c b/linux/drivers/media/dvb/siano/sms-cards.c
index 76bd3cb82..62c1bf604 100644
--- a/linux/drivers/media/dvb/siano/sms-cards.c
+++ b/linux/drivers/media/dvb/siano/sms-cards.c
@@ -116,8 +116,10 @@ static inline void sms_gpio_assign_11xx_default_led_config(
int sms_board_event(struct smscore_device_t *coredev,
enum SMS_BOARD_EVENTS gevent) {
+#if 0
int board_id = smscore_get_board_id(coredev);
struct sms_board *board = sms_get_board(board_id);
+#endif
struct smscore_gpio_config MyGpioConfig;
sms_gpio_assign_11xx_default_led_config(&MyGpioConfig);