summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-26 23:07:59 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-05 08:30:14 -0200
commit547bf2508146f0274e4b72793c5017ca276282b6 (patch)
tree602517449fbb8b8e2ecf2f08dac2780929bb9e9a /drivers/media/tuners
parent8de531b03271169458d5aad66934d097056f0d0c (diff)
downloadop-kernel-dev-547bf2508146f0274e4b72793c5017ca276282b6.zip
op-kernel-dev-547bf2508146f0274e4b72793c5017ca276282b6.tar.gz
[media] tuner-xc2028: remove unused code
This macro is not used. remove it. Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/tuner-xc2028.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/tuners/tuner-xc2028.c b/drivers/media/tuners/tuner-xc2028.c
index 4be5cf8..1057da5 100644
--- a/drivers/media/tuners/tuner-xc2028.c
+++ b/drivers/media/tuners/tuner-xc2028.c
@@ -134,15 +134,6 @@ struct xc2028_data {
_rc; \
})
-#define i2c_rcv(priv, buf, size) ({ \
- int _rc; \
- _rc = tuner_i2c_xfer_recv(&priv->i2c_props, buf, size); \
- if (size != _rc) \
- tuner_err("i2c input error: rc = %d (should be %d)\n", \
- _rc, (int)size); \
- _rc; \
-})
-
#define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \
int _rc; \
_rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
OpenPOWER on IntegriCloud