Commit 547bf250 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] tuner-xc2028: remove unused code

This macro is not used. remove it.
Reviewed-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 8de531b0
...@@ -134,15 +134,6 @@ struct xc2028_data { ...@@ -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, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment