diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-07-09 15:34:41 +0300 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2014-07-29 23:10:56 +0200 |
commit | a3d64df849bcb84220bf6db5773a10eee1fad4dc (patch) | |
tree | f742576f646c436f741d4a3449bd50b79a131e52 /security/smack/smackfs.c | |
parent | 8e54caf407b98efa05409e1fee0e5381abd2b088 (diff) | |
download | op-kernel-dev-a3d64df849bcb84220bf6db5773a10eee1fad4dc.zip op-kernel-dev-a3d64df849bcb84220bf6db5773a10eee1fad4dc.tar.gz |
tpm: simplify code by using %*phN specifier
Instead of looping by ourselves we may use %*phN specifier to dump a small
buffer.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
[ PHuewe: removed now unused variable i ]
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'security/smack/smackfs.c')
0 files changed, 0 insertions, 0 deletions