xen: credit2: tidy up functions names by removing leading '__'.
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 1 Mar 2017 16:56:35 +0000 (16:56 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 1 Mar 2017 16:56:35 +0000 (16:56 +0000)
commit53b9c33274d577b0063aa7148e630f7870c84ef4
tree83a6d9b1bb575e3a9d3b02b7ad1d07b12a22c1b3
parenta1c329c2828b798958f04f5b67823842e49fd987
xen: credit2: tidy up functions names by removing leading '__'.

There is no reason for having pretty much all of the
functions whose names begin with double underscores
('__') to actually look like that.

In fact, that is misleading and makes the code hard
to read and understand. So, remove the '__'-s.

The only two that we keep are __runq_assign() and
__runq_deassign() (althought they're converted to
single underscore). In fact, in those cases, it is
indeed useful to have those sort of a "raw" variants.

In case of __runq_insert(), which is only called
once, by runq_insert(), merge the two functions.

No functional change intended.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit2.c