Przeglądaj źródła

[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>
Andy Walls 14 lat temu
rodzic
commit
593110d143
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      drivers/media/video/cx23885/cx23885-i2c.c

+ 0 - 2
drivers/media/video/cx23885/cx23885-i2c.c

@@ -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;
@@ -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;