summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2018-08-28 11:41:41 -0700
committerGuenter Roeck <linux@roeck-us.net>2018-10-10 20:37:13 -0700
commit86103cffe8834fef0a342fcac82585ff67cda569 (patch)
tree87c83be14d1c132fc94e17ee7a757736c20859cc /tools/perf/scripts/python
parent0debe4d0b86afa5eb9192595c820ed980cabe38b (diff)
downloadcachepc-linux-86103cffe8834fef0a342fcac82585ff67cda569.tar.gz
cachepc-linux-86103cffe8834fef0a342fcac82585ff67cda569.zip
hwmon: (iio_hwmon) Do not duplicate or sanitize fixed string
Calling devm_kstrdup() on a fixed string is unnecessary, as is validating its contents. Rearrange the code to avoid both. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions