remove extra parentheses in return statement
[dpdk.git] / drivers / net / vmxnet3 / vmxnet3_ring.h
index c5abdb6..da4c595 100644 (file)
@@ -92,7 +92,7 @@ vmxnet3_cmd_ring_desc_avail(struct vmxnet3_cmd_ring *ring)
 static inline bool
 vmxnet3_cmd_ring_desc_empty(struct vmxnet3_cmd_ring *ring)
 {
-       return (ring->next2comp == ring->next2fill);
+       return ring->next2comp == ring->next2fill;
 }
 
 typedef struct vmxnet3_comp_ring {
@@ -121,16 +121,13 @@ vmxnet3_comp_ring_adv_next2proc(struct vmxnet3_comp_ring *ring)
 }
 
 struct vmxnet3_txq_stats {
-       uint64_t               drop_total; /* # of pkts dropped by the driver, the
-                                                                          * counters below track droppings due to
-                                                                          * different reasons
-                                                                          */
-       uint64_t               drop_oversized;
-       uint64_t               drop_hdr_inspect_err;
-       uint64_t               drop_tso;
-       uint64_t               deferred;
-       uint64_t               tx_ring_full;
-       uint64_t               linearized;  /* # of pkts linearized */
+       uint64_t        drop_total; /* # of pkts dropped by the driver,
+                                    * the counters below track droppings due to
+                                    * different reasons
+                                    */
+       uint64_t        drop_too_many_segs;
+       uint64_t        drop_tso;
+       uint64_t        tx_ring_full;
 };
 
 typedef struct vmxnet3_tx_ctx {