[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMzoamagYyR5x4UWfLb1HZ5zf4ZYQzEpTC8Q-89gd0pA4dTK5g@mail.gmail.com>
Date: Mon, 25 Jul 2016 16:13:28 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: david@...morbit.com, xfs@....sgi.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
dcb314@...mail.com
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
Powered by blists - more mailing lists