Skip to contentSkip to conversation

drivers: s390: move static and inline before return type

PATCH New [email protected] 1 participant 1 message Jul 12, 2017

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

PATCH 90/96 drivers: s390: move static and inline before return type

From: Joe Perches <[email protected]>
Subject: drivers: s390: move static and inline before return type

Make the code like the rest of the kernel.

---

 drivers/s390/net/ctcm_main.c    |    2 +-
 drivers/s390/net/qeth_l3_main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/s390/net/ctcm_main.c renamed from drivers/s390/net/ctcm_main.c~drivers-s390-move-static-and-inline-before-return-type +1 -1
diff -puN drivers/s390/net/ctcm_main.c~drivers-s390-move-static-and-inline-before-return-type drivers/s390/net/ctcm_main.c
@@ -1115,7 +1115,7 @@ static const struct net_device_ops ctcm_
 	.ndo_start_xmit		= ctcmpc_tx,
 };
 
-void static ctcm_dev_setup(struct net_device *dev)
+static void ctcm_dev_setup(struct net_device *dev)
 {
 	dev->type = ARPHRD_SLIP;
 	dev->tx_queue_len = 100;
drivers/s390/net/qeth_l3_main.c renamed from drivers/s390/net/qeth_l3_main.c~drivers-s390-move-static-and-inline-before-return-type +1 -1
diff -puN drivers/s390/net/qeth_l3_main.c~drivers-s390-move-static-and-inline-before-return-type drivers/s390/net/qeth_l3_main.c
@@ -2408,7 +2408,7 @@ static int qeth_l3_do_ioctl(struct net_d
 	return rc;
 }
 
-int inline qeth_l3_get_cast_type(struct qeth_card *card, struct sk_buff *skb)
+inline int qeth_l3_get_cast_type(struct qeth_card *card, struct sk_buff *skb)
 {
 	int cast_type = RTN_UNSPEC;
 	struct neighbour *n = NULL;

_