diff options
author | Jan Kara <jack@suse.cz> | 2020-03-24 15:27:52 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-03-25 10:22:54 +0100 |
commit | a741c2febeadc675aef84bcd6924b6522577d593 (patch) | |
tree | 55c848f371dd7f16b9202f7cca71e3c9412534dc /drivers/pci/controller/pci-host-generic.c | |
parent | 55bf882c7f13dda8bbe624040c6d5b4fbb812d16 (diff) |
fanotify: Simplify create_fd()
create_fd() is never used with invalid path. Also the only thing it
needs to know from fanotify_event is the path. Simplify the function to
take path directly and assume it is correct.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions