summaryrefslogtreecommitdiffstats
path: root/lib/stmp_device.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-02-12 15:02:26 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 18:54:15 -0800
commit5d909c8d54b114eddb7c50506f03bf7309a9192e (patch)
tree276ad2aa80b54b674b67e74552fbab443a235b8b /lib/stmp_device.c
parent6f6f3fcb87a53c720941f4bd039ec2c0bce66625 (diff)
downloadlinux-5d909c8d54b114eddb7c50506f03bf7309a9192e.tar.gz
linux-5d909c8d54b114eddb7c50506f03bf7309a9192e.tar.bz2
linux-5d909c8d54b114eddb7c50506f03bf7309a9192e.zip
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 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions