mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 19:11:31 +00:00
[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:
parent
8de531b032
commit
547bf25081
@ -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, \
|
||||||
|
Loading…
Reference in New Issue
Block a user