net/bnxt: fix null dereference in session cleanup
[dpdk.git] / lib / sched / rte_sched.h
index 484dbdc..5ece64e 100644 (file)
@@ -56,7 +56,6 @@ extern "C" {
  *
  */
 
-#include <sys/types.h>
 #include <rte_compat.h>
 #include <rte_mbuf.h>
 #include <rte_meter.h>
@@ -360,7 +359,7 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port,
  *
  * Hierarchical scheduler subport bandwidth profile add
  * Note that this function is safe to use in runtime for adding new
- * subport bandwidth profile as it doesn't have any impact on hiearchical
+ * subport bandwidth profile as it doesn't have any impact on hierarchical
  * structure of the scheduler.
  * @param port
  *   Handle to port scheduler instance