aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndy Walls <awalls@md.metrocast.net>2011-02-13 20:01:38 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-02 11:45:27 -0500
commit593110d143f85d1aca227685edd571f137388b24 (patch)
treeb248a5385925f0a185e13c691bd3d827af7b59a8 /drivers/media
parent67914b5c400d6c213f9e56d7547a2038ab5c06f4 (diff)
[media] cx23885: Remove unused 'err:' labels to quiet compiler warning
The previous revert-commit, that affected cx23885-i2c.c, left some unused labels that the compiler griped about. Clean them up. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx23885/cx23885-i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c
index 1007f80bd7c1..307ff543c254 100644
--- a/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/drivers/media/video/cx23885/cx23885-i2c.c
@@ -154,7 +154,6 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,
154 154
155 eio: 155 eio:
156 retval = -EIO; 156 retval = -EIO;
157 err:
158 if (i2c_debug) 157 if (i2c_debug)
159 printk(KERN_ERR " ERR: %d\n", retval); 158 printk(KERN_ERR " ERR: %d\n", retval);
160 return retval; 159 return retval;
@@ -216,7 +215,6 @@ static int i2c_readbytes(struct i2c_adapter *i2c_adap,
216 215
217 eio: 216 eio:
218 retval = -EIO; 217 retval = -EIO;
219 err:
220 if (i2c_debug) 218 if (i2c_debug)
221 printk(KERN_ERR " ERR: %d\n", retval); 219 printk(KERN_ERR " ERR: %d\n", retval);
222 return retval; 220 return retval;