2016-02-24 10:03:26

by Tony Cho

[permalink] [raw]
Subject: [PATCH 1/2] staging: wilc1000: wilc_wlan.c: remove unnecessary blank lines

This patch removes unnecessary blank lines found by checkpatch.pl.

Signed-off-by: Tony Cho <[email protected]>
---
drivers/staging/wilc1000/wilc_wlan.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index d50ddc6..f142e61 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -21,7 +21,6 @@ static inline void release_bus(struct wilc *wilc, BUS_RELEASE_T release)

static void wilc_wlan_txq_remove(struct wilc *wilc, struct txq_entry_t *tqe)
{
-
if (tqe == wilc->txq_head) {
wilc->txq_head = tqe->next;
if (wilc->txq_head)
@@ -248,7 +247,6 @@ static inline void tcp_process(struct net_device *dev, struct txq_entry_t *tqe)

add_tcp_pending_ack(ack_no, i, tqe);
}
-
}
}
spin_unlock_irqrestore(&wilc->txq_spinlock, flags);
@@ -429,7 +427,6 @@ static struct txq_entry_t *wilc_wlan_txq_get_next(struct wilc *wilc,

static int wilc_wlan_rxq_add(struct wilc *wilc, struct rxq_entry_t *rqe)
{
-
if (wilc->quit)
return 0;

@@ -450,7 +447,6 @@ static int wilc_wlan_rxq_add(struct wilc *wilc, struct rxq_entry_t *rqe)

static struct rxq_entry_t *wilc_wlan_rxq_remove(struct wilc *wilc)
{
-
if (wilc->rxq_head) {
struct rxq_entry_t *rqe;

--
1.9.1



2016-02-24 10:03:32

by Tony Cho

[permalink] [raw]
Subject: [PATCH 2/2] staging: wilc1000: wilc_wlan.c: remove multiple blank line

This patch removes the multiple blank line reported by checkpatch.pl.

Signed-off-by: Tony Cho <[email protected]>
---
drivers/staging/wilc1000/wilc_wlan.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index f142e61..17e39cc 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -139,7 +139,6 @@ struct pending_acks_info {
struct txq_entry_t *txqe;
};

-
#define NOT_TCP_ACK (-1)

#define MAX_TCP_SESSION 25
--
1.9.1