igb: fix semicolon.cocci warnings
diff mbox

Message ID alpine.DEB.2.10.1512231355320.4367@hadrien
State Not Applicable
Delegated to: Jeff Kirsher
Headers show

Commit Message

Julia Lawall Dec. 23, 2015, 12:56 p.m. UTC
Remove unneeded semicolon.

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

CC: Gangfeng Huang <gangfeng.huang@ni.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

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

Comments

Brown, Aaron F Jan. 7, 2016, 2:10 a.m. UTC | #1
> From: Intel-wired-lan [intel-wired-lan-bounces@lists.osuosl.org] on behalf of Julia Lawall [julia.lawall@lip6.fr]
> Sent: Wednesday, December 23, 2015 4:56 AM
> To: Gangfeng Huang
> Cc: intel-wired-lan@lists.osuosl.org; kbuild-all@01.org
> Subject: [Intel-wired-lan] [PATCH] igb: fix semicolon.cocci warnings
> 
> Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Gangfeng Huang <gangfeng.huang@ni.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> 
>  igb_cdev.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Aaron Brown <aaron.f.brown@intel.com>

Patch
diff mbox

--- a/drivers/net/ethernet/intel/igb/igb_cdev.c
+++ b/drivers/net/ethernet/intel/igb/igb_cdev.c
@@ -361,7 +361,7 @@  static long igb_ioctl_file(struct file *
 	default:
 		err = -EINVAL;
 		break;
-	};
+	}

 	return err;
 }