xfs_icache.c:1298]: (style) Redundant condition
David Binderman
linuxdev.baldrick at gmail.com
Mon Jul 25 10:13:28 CDT 2016
Hello there,
linux-4.7/fs/xfs/xfs_icache.c:1298]: (style) Redundant condition:
eofb. '!eofb || (eofb && eofb.eof_scan_owner!=0)' is equivalent to
'!eofb || eofb.eof_scan_owner!=0'
Source code is
ASSERT(!eofb || (eofb && eofb->eof_scan_owner != 0));
Maybe better code
ASSERT(!eofb || (eofb->eof_scan_owner != 0));
Regards
David Binderman
More information about the xfs
mailing list