diff options
| author | Dan Carpenter <[email protected]> | 2021-06-18 13:46:01 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2021-06-18 19:45:58 +0000 |
| commit | 9e25f01b5f529d397be2e3f595b0b54ae9e80c58 (patch) | |
| tree | acafc00e3c75a42a2b6ad12ec2042031822e81b6 /net/unix/af_unix.c | |
| parent | hwmon: (ntc_thermistor) Drop unused headers. (diff) | |
| download | kernel-9e25f01b5f529d397be2e3f595b0b54ae9e80c58.tar.gz kernel-9e25f01b5f529d397be2e3f595b0b54ae9e80c58.zip | |
hwmon: (pmbus/dps920ab) Delete some dead code
The debugfs_create_dir() function returns error pointers, it doesn't
return NULL. But debugfs functions don't need to be checked in normal
situations and we can just delete this code.
Fixes: 1f442e213ce5 ("hwmon: (pmbus) Add driver for Delta DPS-920AB PSU")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/YMyjmR54ErLtc1sH@mwanda
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
