diff mbox series

ethtool: remove unneeded semicolon

Message ID 20201101155601.2294374-1-trix@redhat.com
State New
Headers show
Series ethtool: remove unneeded semicolon | expand

Commit Message

Tom Rix Nov. 1, 2020, 3:56 p.m. UTC
From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 net/ethtool/ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jakub Kicinski Nov. 3, 2020, 1:54 a.m. UTC | #1
On Sun,  1 Nov 2020 07:56:01 -0800 trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>

> 

> A semicolon is not needed after a switch statement.

> 

> Signed-off-by: Tom Rix <trix@redhat.com>


Applied....
diff mbox series

Patch

diff --git a/net/ethtool/ioctl.c b/net/ethtool/ioctl.c
index ec2cd7aab5ad..771688e1b0da 100644
--- a/net/ethtool/ioctl.c
+++ b/net/ethtool/ioctl.c
@@ -2433,7 +2433,7 @@  static int noinline_for_stack ethtool_set_per_queue(struct net_device *dev,
 		return ethtool_set_per_queue_coalesce(dev, useraddr, &per_queue_opt);
 	default:
 		return -EOPNOTSUPP;
-	};
+	}
 }
 
 static int ethtool_phy_tunable_valid(const struct ethtool_tunable *tuna)