diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-05-14 19:22:25 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-05-15 16:27:48 +0200 |
commit | 7f9584df8495787393d8c18598c2b6eb03e647b0 (patch) | |
tree | b44cf441f3d101bc1d9af1e6e887671e92f77552 /drivers/perf | |
parent | 48e6f7652dd8c502005decb331910ca0d097c1a9 (diff) | |
download | talos-obmc-linux-7f9584df8495787393d8c18598c2b6eb03e647b0.tar.gz talos-obmc-linux-7f9584df8495787393d8c18598c2b6eb03e647b0.zip |
iommu: Remove extra NULL check when call strtobool()
strtobool() does check for NULL parameter already. No need to repeat.
While here, switch to kstrtobool() and unshadow actual error code
(which is still -EINVAL).
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions