diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-01-20 13:57:22 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-01-20 13:57:22 +0100 |
commit | 217663f101a56ef77f82273818253fff082bf503 (patch) | |
tree | b6798d7560f2d344d04c7fd027d9f98fd4b47eb3 /include | |
parent | fa2e1ba3e9e39072fa7a6a9d11ac432c505b4ac7 (diff) |
fanotify: remove variable set but not used
The code that uses the pointer info has been removed in 7326e382c21e
("fanotify: report old and/or new parent+name in FAN_RENAME event").
and fanotify_event_info() doesn't change 'event', so the declaration and
assignment of info can be removed.
Eliminate the following clang warning:
fs/notify/fanotify/fanotify_user.c:161:24: warning: variable ‘info’ set
but not used
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions