Messages in this thread | | | From | David Binderman <> | Date | Mon, 25 Jul 2016 16:13:28 +0100 | Subject | xfs_icache.c:1298]: (style) Redundant condition |
| |
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
| |