boolconv.cocci (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) | boolconv.cocci (7f904d7e1f3ec7c2de47c024a5a5c30988b54703) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only |
|
1/// Remove unneeded conversion to bool 2/// 3//# Relational and logical operators evaluate to bool, 4//# explicit conversion is overly verbose and unneeded. 5// | 2/// Remove unneeded conversion to bool 3/// 4//# Relational and logical operators evaluate to bool, 5//# explicit conversion is overly verbose and unneeded. 6// |
6// Copyright: (C) 2016 Andrew F. Davis <afd@ti.com> GPLv2. | 7// Copyright: (C) 2016 Andrew F. Davis <afd@ti.com> |
7 8virtual patch 9virtual context 10virtual org 11virtual report 12 13//---------------------------------------------------------- 14// For patch mode --- 76 unchanged lines hidden --- | 8 9virtual patch 10virtual context 11virtual org 12virtual report 13 14//---------------------------------------------------------- 15// For patch mode --- 76 unchanged lines hidden --- |