[media] tuner-xc2028: remove unused code
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 27 Dec 2013 02:07:59 +0000 (23:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 5 Jan 2014 10:30:14 +0000 (08:30 -0200)
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>
drivers/media/tuners/tuner-xc2028.c

index 4be5cf8..1057da5 100644 (file)
@@ -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,   \