Skip to content

Commit

Permalink
[media] cx23885: Remove unused 'err:' labels to quiet compiler warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed Mar 2, 2011
1 parent 67914b5 commit 593110d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/cx23885/cx23885-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,

eio:
retval = -EIO;
err:
if (i2c_debug)
printk(KERN_ERR " ERR: %d\n", retval);
return retval;
Expand Down Expand Up @@ -216,7 +215,6 @@ static int i2c_readbytes(struct i2c_adapter *i2c_adap,

eio:
retval = -EIO;
err:
if (i2c_debug)
printk(KERN_ERR " ERR: %d\n", retval);
return retval;
Expand Down

0 comments on commit 593110d

Please sign in to comment.