diff options
author | Fuyun Liang <[email protected]> | 2018-05-15 19:20:09 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-16 11:33:07 -0400 |
commit | 854cf33a63106667fea7265b9c222566dbb5edc6 (patch) | |
tree | f2965df911667f1cd44ef1f3b3b5556d54d43c5a /tools/perf/scripts/python/compaction-times.py | |
parent | 50fbc237b75720ca08d1fd9c6408cfe5c2217bbf (diff) |
net: hns3: Change return type of hnae3_register_ae_algo
The ae_algo is used by many ae_devs. It is not only belong to just a
ae_dev. Initializing ae_dev failed does not represent registering ae_algo
failed. Because the action of registering ae_algo just is adding ae_algo
to the ae_algo list and it is always is true, it make no sense to define
return type as int.
This patch changes the return type of hnae3_register_ae_algo from int to
void.
Signed-off-by: Fuyun Liang <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions