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 <snelson@pensando.io> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
799c230e93
commit
ecea8bb429
@ -759,7 +759,7 @@ enum ionic_txq_desc_opcode {
|
||||
* IONIC_TXQ_DESC_OPCODE_CSUM_HW:
|
||||
* Offload 16-bit checksum computation to hardware.
|
||||
* If @csum_l3 is set then the packet's L3 checksum is
|
||||
* updated. Similarly, if @csum_l4 is set the the L4
|
||||
* updated. Similarly, if @csum_l4 is set the L4
|
||||
* checksum is updated. If @encap is set then encap header
|
||||
* checksums are also updated.
|
||||
*
|
||||
@ -1368,9 +1368,9 @@ union ionic_port_config {
|
||||
* @status: link status (enum ionic_port_oper_status)
|
||||
* @id: port id
|
||||
* @speed: link speed (in Mbps)
|
||||
* @link_down_count: number of times link went from from up to down
|
||||
* @link_down_count: number of times link went from up to down
|
||||
* @fec_type: fec type (enum ionic_port_fec_type)
|
||||
* @xcvr: tranceiver status
|
||||
* @xcvr: transceiver status
|
||||
*/
|
||||
struct ionic_port_status {
|
||||
__le32 id;
|
||||
|
@ -151,7 +151,6 @@ static const struct ionic_stat_desc ionic_rx_stats_desc[] = {
|
||||
IONIC_RX_STAT_DESC(vlan_stripped),
|
||||
};
|
||||
|
||||
|
||||
#define IONIC_NUM_LIF_STATS ARRAY_SIZE(ionic_lif_stats_desc)
|
||||
#define IONIC_NUM_PORT_STATS ARRAY_SIZE(ionic_port_stats_desc)
|
||||
#define IONIC_NUM_TX_STATS ARRAY_SIZE(ionic_tx_stats_desc)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "ionic_lif.h"
|
||||
#include "ionic_txrx.h"
|
||||
|
||||
|
||||
static inline void ionic_txq_post(struct ionic_queue *q, bool ring_dbell,
|
||||
ionic_desc_cb cb_func, void *cb_arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user