[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>
This commit is contained in:
Mauro Carvalho Chehab 2013-12-26 23:07:59 -03:00
parent 8de531b032
commit 547bf25081

View File

@ -134,15 +134,6 @@ struct xc2028_data {
_rc; \ _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) ({ \ #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \
int _rc; \ int _rc; \
_rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \ _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \