summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/pnv_php.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2023-10-10 14:44:35 +0300
committerJan Kara <jack@suse.cz>2023-10-10 14:35:29 +0200
commit1758cd2e95d31b308f29ae3828ae92c8b8d20466 (patch)
tree8e50fe0429fd80c21127bd2e3ff5920a2ea8b6fb /drivers/pci/hotplug/pnv_php.c
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
fanotify: delete useless parenthesis in FANOTIFY_INLINE_FH macro
Parenthesis around identifier name in declaration are useless. This is just "put every macro argument inside parenthesis" practice. Now "size" must be constant expression, but using comma expression in constant expression is useless too, therefore [] will guard "size" expression just as well as (). Also g++ is somewhat upset about these: fs/notify/fanotify/fanotify.h:278:28: warning: unnecessary parentheses in declaration of ‘object_fh’ [-Wparentheses] 278 | struct fanotify_fh (name); Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Message-Id: <633c251a-b548-4428-9e91-1cf8147d8c55@p183>
Diffstat (limited to 'drivers/pci/hotplug/pnv_php.c')
0 files changed, 0 insertions, 0 deletions