Skip to contentSkip to conversation

staging: net: Fixing style problems suggested by checkpatch

PATCH New Rohit Chavan 1 participant 1 message Dec 19, 2021

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

PATCH 1/1 staging: net: Fixing style problems suggested by checkpatch

---
 drivers/net/macvtap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/macvtap.c +3 -3
index 6b12902a803f..4e39792703a5 100644
@@ -30,14 +30,13 @@ struct macvtap_dev {
 	struct tap_dev    tap;
 };
 
-/*
- * Variables for dealing with macvtaps device numbers.
- */
+/* Variables for dealing with macvtaps device numbers. */
 static dev_t macvtap_major;
 
 static const void *macvtap_net_namespace(struct device *d)
 {
 	struct net_device *dev = to_net_dev(d->parent);
+
 	return dev_net(dev);
 }
 
@@ -47,6 +46,7 @@ static struct class macvtap_class = {
 	.ns_type = &net_ns_type_operations,
 	.namespace = macvtap_net_namespace,
 };
+
 static struct cdev macvtap_cdev;
 
 #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
Signature · 1 line
2.32.0