staging: wilc1000: fix line over 80 characters in tcp_process()
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 16 Feb 2018 15:11:47 +0000 (20:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 16:31:22 +0000 (17:31 +0100)
Fix "line over 80 characters" issue found by checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index aedf84d1475a6b1c5f1f27662cc5cbee7519067c..391ecd5de4b91073e229b5a7d97b5ca2c532a258 100644 (file)
@@ -232,8 +232,10 @@ static inline void tcp_process(struct net_device *dev, struct txq_entry_t *tqe)
                                         (u32)tcp_hdr_ptr[11];
 
                                for (i = 0; i < tcp_session; i++) {
+                                       u32 j = ack_session_info[i].seq_num;
+
                                        if (i < 2 * MAX_TCP_SESSION &&
-                                           ack_session_info[i].seq_num == seq_no) {
+                                           j == seq_no) {
                                                update_tcp_session(i, ack_no);
                                                break;
                                        }