xen/bitmap: Drop {bitmap,cpumask,nodes}_shift_{left,right}()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 25 Jun 2019 09:48:22 +0000 (10:48 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 31 Jul 2019 13:18:37 +0000 (14:18 +0100)
commit87bda2a40bcc63e1fac651012870ec73b000fd7e
tree9dc6608a35b70585e6c819e674d2e57b1f346355
parent1ae0db5e48106498dcb3b9fe2dd3e74830e284c4
xen/bitmap: Drop {bitmap,cpumask,nodes}_shift_{left,right}()

These operations have never been used in Xen since their introduction, and it
doesn't seem likely that they will in the future.

Bloat-o-meter reports that they aren't the smallest when compiled, either.

  add/remove: 0/2 grow/shrink: 0/0 up/down: 0/-814 (-814)
  Function                                     old     new   delta
  __bitmap_shift_left                          366       -    -366
  __bitmap_shift_right                         448       -    -448
  Total: Before=3323730, After=3322916, chg -0.02%

Suggested-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/bitmap.c
xen/include/xen/bitmap.h
xen/include/xen/cpumask.h
xen/include/xen/nodemask.h