diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-02-12 15:02:26 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-22 16:23:43 +0100 |
| commit | d1ba7ebedb54095bf5ce3017ba039091babd721b (patch) | |
| tree | 12f1e44e0989c1737173888f785acef988ef098a /scripts/basic | |
| parent | 5f9d894cc47afc06ef881f389a5f1358db487daa (diff) | |
hexdump: do a few calculations ahead
Instead of doing calculations in each case of different groupsize let's do
them beforehand. While there, change the switch to an if-else-if
construction.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
