Skip to content

Commit ecea8bb

Browse files
emuslnkuba-moo
authored andcommitted
ionic: clean up comments and whitespace
Fix up some checkpatch complaints that have crept in: doubled words words, mispellled words, doubled lines. Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 799c230 commit ecea8bb

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

drivers/net/ethernet/pensando/ionic/ionic_if.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ enum ionic_txq_desc_opcode {
759759
* IONIC_TXQ_DESC_OPCODE_CSUM_HW:
760760
* Offload 16-bit checksum computation to hardware.
761761
* If @csum_l3 is set then the packet's L3 checksum is
762-
* updated. Similarly, if @csum_l4 is set the the L4
762+
* updated. Similarly, if @csum_l4 is set the L4
763763
* checksum is updated. If @encap is set then encap header
764764
* checksums are also updated.
765765
*
@@ -1368,9 +1368,9 @@ union ionic_port_config {
13681368
* @status: link status (enum ionic_port_oper_status)
13691369
* @id: port id
13701370
* @speed: link speed (in Mbps)
1371-
* @link_down_count: number of times link went from from up to down
1371+
* @link_down_count: number of times link went from up to down
13721372
* @fec_type: fec type (enum ionic_port_fec_type)
1373-
* @xcvr: tranceiver status
1373+
* @xcvr: transceiver status
13741374
*/
13751375
struct ionic_port_status {
13761376
__le32 id;

drivers/net/ethernet/pensando/ionic/ionic_stats.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ static const struct ionic_stat_desc ionic_rx_stats_desc[] = {
151151
IONIC_RX_STAT_DESC(vlan_stripped),
152152
};
153153

154-
155154
#define IONIC_NUM_LIF_STATS ARRAY_SIZE(ionic_lif_stats_desc)
156155
#define IONIC_NUM_PORT_STATS ARRAY_SIZE(ionic_port_stats_desc)
157156
#define IONIC_NUM_TX_STATS ARRAY_SIZE(ionic_tx_stats_desc)

drivers/net/ethernet/pensando/ionic/ionic_txrx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "ionic_lif.h"
1111
#include "ionic_txrx.h"
1212

13-
1413
static inline void ionic_txq_post(struct ionic_queue *q, bool ring_dbell,
1514
ionic_desc_cb cb_func, void *cb_arg)
1615
{

0 commit comments

Comments
 (0)