net: hdlc_ppp: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Peng Li 2021-06-17 22:03:15 +08:00 коммит произвёл David S. Miller
Родитель f271606f52
Коммит 2b57681f94
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -41,6 +41,7 @@ static const char *const code_names[CP_CODES] = {
"0", "ConfReq", "ConfAck", "ConfNak", "ConfRej", "TermReq", "0", "ConfReq", "ConfAck", "ConfNak", "ConfRej", "TermReq",
"TermAck", "CodeRej", "ProtoRej", "EchoReq", "EchoReply", "Discard" "TermAck", "CodeRej", "ProtoRej", "EchoReq", "EchoReply", "Discard"
}; };
static char debug_buffer[64 + 3 * DEBUG_CP]; static char debug_buffer[64 + 3 * DEBUG_CP];
#endif #endif
@ -90,6 +91,7 @@ static const char *const state_names[STATES] = {
"Closed", "Stopped", "Stopping", "ReqSent", "AckRecv", "AckSent", "Closed", "Stopped", "Stopping", "ReqSent", "AckRecv", "AckSent",
"Opened" "Opened"
}; };
static const char *const event_names[EVENTS] = { static const char *const event_names[EVENTS] = {
"Start", "Stop", "TO+", "TO-", "RCR+", "RCR-", "RCA", "RCN", "Start", "Stop", "TO+", "TO-", "RCR+", "RCR-", "RCA", "RCN",
"RTR", "RTA", "RUC", "RXJ+", "RXJ-" "RTR", "RTA", "RUC", "RXJ+", "RXJ-"
@ -194,6 +196,7 @@ static int ppp_hard_header(struct sk_buff *skb, struct net_device *dev,
static void ppp_tx_flush(void) static void ppp_tx_flush(void)
{ {
struct sk_buff *skb; struct sk_buff *skb;
while ((skb = skb_dequeue(&tx_queue)) != NULL) while ((skb = skb_dequeue(&tx_queue)) != NULL)
dev_queue_xmit(skb); dev_queue_xmit(skb);
} }
@ -616,6 +619,7 @@ static void ppp_start(struct net_device *dev)
for (i = 0; i < IDX_COUNT; i++) { for (i = 0; i < IDX_COUNT; i++) {
struct proto *proto = &ppp->protos[i]; struct proto *proto = &ppp->protos[i];
proto->dev = dev; proto->dev = dev;
timer_setup(&proto->timer, ppp_timer, 0); timer_setup(&proto->timer, ppp_timer, 0);
proto->state = CLOSED; proto->state = CLOSED;