Skip to contentSkip to conversation

igb: fix semicolon.cocci warnings

PATCH New Julia Lawall 2 participants 2 messages Dec 23, 2015 – Jan 7, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb: fix semicolon.cocci warnings

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

---

 igb_cdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/igb/igb_cdev.c +1 -1
@@ -361,7 +361,7 @@ static long igb_ioctl_file(struct file *
 	default:
 		err = -EINVAL;
 		break;
-	};
+	}
 
 	return err;
 }
#1 lore raw

PATCH 1/1 igb: fix semicolon.cocci warnings

Quoted 10 lines

From: Intel-wired-lan [intel-wired-lan-bounces at lists.osuosl.org] on behalf of Julia Lawall [julia.lawall at lip6.fr]
Sent: Wednesday, December 23, 2015 4:56 AM
To: Gangfeng Huang
Cc: intel-wired-lan at lists.osuosl.org; kbuild-all at 01.org
Subject: [Intel-wired-lan] [PATCH] igb: fix semicolon.cocci warnings

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Quoted 7 lines

---

 igb_cdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)