Skip to contentSkip to conversation

video/saa7134: remove duplicate break

PATCH Superseded Dan Carpenter 2 participants 2 messages May 25, 2010 – May 26, 2010

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 2/2 video/saa7134: remove duplicate break

The original code had two break statements in a row.

---
v3: Put this in a seperate patch.

drivers/media/video/saa7134/saa7134-input.c +0 -1
index e5565e2..7691bf2 100644
@@ -815,7 +815,6 @@ int saa7134_input_init1(struct saa7134_dev *dev)
 		mask_keyup   = 0x020000;
 		polling      = 50; /* ms */
 		break;
-	break;
 	}
 	if (NULL = ir_codes) {
 		printk("%s: Oops: IR config error [card=%d]\n",
Acked-by on v3 2/2
#1 lore raw
Quoted 3 lines · Dan Carpenter

The original code had two break statements in a row.

Quoted 16 lines

---
v3: Put this in a seperate patch.

drivers/media/video/saa7134/saa7134-input.c +0 -1
index e5565e2..7691bf2 100644
@@ -815,7 +815,6 @@ int saa7134_input_init1(struct saa7134_dev *dev)
 		mask_keyup   = 0x020000;
 		polling      = 50; /* ms */
 		break;
-	break;
 	}
 	if (NULL = ir_codes) {
 		printk("%s: Oops: IR config error [card=%d]\n",
Signature · 1 line
Jean Delvare