return is not a function, parentheses are not required.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
                        val = 1;
        } while (tcf_hash_lookup(val, hinfo));
 
-       return (*idx_gen = val);
+       *idx_gen = val;
+       return val;
 }
 EXPORT_SYMBOL(tcf_hash_new_index);
 
 
 
 static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index)
 {
-       return (index <= p->indices && index > 0);
+       return index <= p->indices && index > 0;
 }
 
 /* ------------------------- Class/flow operations ------------------------- */