@@ -32,17 +32,17 @@ static pmr_tbl_t *pmr_tbl;
cos_t *get_cos_entry_internal(odp_cos_t cos_id)
{
- return &(cos_tbl->cos_entry[_odp_typeval(cos_id)]);
+ return &cos_tbl->cos_entry[_odp_typeval(cos_id)];
}
pmr_set_t *get_pmr_set_entry_internal(odp_pmr_set_t pmr_set_id)
{
- return &(pmr_set_tbl->pmr_set[_odp_typeval(pmr_set_id)]);
+ return &pmr_set_tbl->pmr_set[_odp_typeval(pmr_set_id)];
}
pmr_t *get_pmr_entry_internal(odp_pmr_t pmr_id)
{
- return &(pmr_tbl->pmr[_odp_typeval(pmr_id)]);
+ return &pmr_tbl->pmr[_odp_typeval(pmr_id)];
}
int odp_classification_init_global(void)
@@ -227,7 +227,7 @@ cos_t *get_cos_entry(odp_cos_t cos_id)
return NULL;
if (cos_tbl->cos_entry[_odp_typeval(cos_id)].s.valid == 0)
return NULL;
- return &(cos_tbl->cos_entry[_odp_typeval(cos_id)]);
+ return &cos_tbl->cos_entry[_odp_typeval(cos_id)];
}
pmr_set_t *get_pmr_set_entry(odp_pmr_set_t pmr_set_id)
@@ -237,7 +237,7 @@ pmr_set_t *get_pmr_set_entry(odp_pmr_set_t pmr_set_id)
return NULL;
if (pmr_set_tbl->pmr_set[_odp_typeval(pmr_set_id)].s.pmr.s.valid == 0)
return NULL;
- return &(pmr_set_tbl->pmr_set[_odp_typeval(pmr_set_id)]);
+ return &pmr_set_tbl->pmr_set[_odp_typeval(pmr_set_id)];
}
pmr_t *get_pmr_entry(odp_pmr_t pmr_id)
@@ -247,7 +247,7 @@ pmr_t *get_pmr_entry(odp_pmr_t pmr_id)
return NULL;
if (pmr_tbl->pmr[_odp_typeval(pmr_id)].s.valid == 0)
return NULL;
- return &(pmr_tbl->pmr[_odp_typeval(pmr_id)]);
+ return &pmr_tbl->pmr[_odp_typeval(pmr_id)];
}
int odp_cos_destroy(odp_cos_t cos_id)
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- platform/linux-generic/odp_classification.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)